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. --- aomusicplayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aomusicplayer.cpp') diff --git a/aomusicplayer.cpp b/aomusicplayer.cpp index bd36393..997d82d 100644 --- a/aomusicplayer.cpp +++ b/aomusicplayer.cpp @@ -21,7 +21,7 @@ void AOMusicPlayer::play(QString p_song) this->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