From 1c6afdce99811525bd703a526041691070b03274 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Thu, 13 Dec 2018 11:38:21 +0100 Subject: Fixed a bug where there would be no sound on Windows during the first start. --- aosfxplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aosfxplayer.cpp') diff --git a/aosfxplayer.cpp b/aosfxplayer.cpp index 84a8eb3..90e458e 100644 --- a/aosfxplayer.cpp +++ b/aosfxplayer.cpp @@ -31,7 +31,7 @@ void AOSfxPlayer::play(QString p_sfx, QString p_char, QString shout) set_volume(m_volume); - if (ao_app->get_audio_output_device() != "Default") + if (ao_app->get_audio_output_device() != "default") BASS_ChannelSetDevice(m_stream, BASS_GetDevice()); BASS_ChannelPlay(m_stream, false); } -- cgit