diff options
| author | Cerapter <cerap@protonmail.com> | 2018-12-13 11:38:21 +0100 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-12-13 11:38:21 +0100 |
| commit | 1c6afdce99811525bd703a526041691070b03274 (patch) | |
| tree | b587d7c4a1b2529df3544e95bfcfed677653083f /aomusicplayer.cpp | |
| parent | 171196885d88360c8c06def67ae398c8187dfd89 (diff) | |
Fixed a bug where there would be no sound on Windows during the first start.
Diffstat (limited to 'aomusicplayer.cpp')
| -rw-r--r-- | aomusicplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aomusicplayer.cpp b/aomusicplayer.cpp index bd363933..997d82d8 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); } |
