diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2020-05-31 21:54:35 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2020-05-31 21:54:35 -0500 |
| commit | 032e53d1570f9accee6dc8b7877efc0d4108f55a (patch) | |
| tree | bf1511bf5c67590598555954853de68b903b96a9 /src/aosfxplayer.cpp | |
| parent | 012a03e961f91d560ceb5146b2fcfea0c73ca569 (diff) | |
Fix SFX playing at 1/100th of its intended volume
Diffstat (limited to 'src/aosfxplayer.cpp')
| -rw-r--r-- | src/aosfxplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/aosfxplayer.cpp b/src/aosfxplayer.cpp index 0fdba1b2..127bda63 100644 --- a/src/aosfxplayer.cpp +++ b/src/aosfxplayer.cpp @@ -66,7 +66,7 @@ void AOSfxPlayer::play(QString p_sfx, QString p_char, QString shout, FALSE, f_path.utf16(), 0, 0, BASS_STREAM_AUTOFREE | BASS_UNICODE | BASS_ASYNCFILE); - set_volume(m_volume); + set_volume_internal(m_volume); if (ao_app->get_audio_output_device() != "default") BASS_ChannelSetDevice(m_stream_list[m_channel], BASS_GetDevice()); |
