Fix SFX playing at 1/100th of its intended volume
This commit is contained in:
parent
012a03e961
commit
032e53d157
@ -66,7 +66,7 @@ void AOSfxPlayer::play(QString p_sfx, QString p_char, QString shout,
|
|||||||
FALSE, f_path.utf16(), 0, 0,
|
FALSE, f_path.utf16(), 0, 0,
|
||||||
BASS_STREAM_AUTOFREE | BASS_UNICODE | BASS_ASYNCFILE);
|
BASS_STREAM_AUTOFREE | BASS_UNICODE | BASS_ASYNCFILE);
|
||||||
|
|
||||||
set_volume(m_volume);
|
set_volume_internal(m_volume);
|
||||||
|
|
||||||
if (ao_app->get_audio_output_device() != "default")
|
if (ao_app->get_audio_output_device() != "default")
|
||||||
BASS_ChannelSetDevice(m_stream_list[m_channel], BASS_GetDevice());
|
BASS_ChannelSetDevice(m_stream_list[m_channel], BASS_GetDevice());
|
||||||
|
Loading…
Reference in New Issue
Block a user