diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2018-12-13 17:26:06 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-13 17:26:06 -0600 |
| commit | a852ab504ba19b20b82b9eb7b2750ba5c30aa4d4 (patch) | |
| tree | b587d7c4a1b2529df3544e95bfcfed677653083f /aosfxplayer.cpp | |
| parent | d09269122408ee83c4fa20dfb90ed5aedd9fe85a (diff) | |
| parent | 1c6afdce99811525bd703a526041691070b03274 (diff) | |
Merge pull request #39 from Cerapter/mega-merge-audio-fix
Fix the no sound on Windows at start bug.
Diffstat (limited to 'aosfxplayer.cpp')
| -rw-r--r-- | aosfxplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
