Re-add missing BASS_StreamCreateFile line

This commit is contained in:
oldmud0 2018-12-10 15:10:31 -06:00
parent 3876ecf95c
commit 9727acc974

View File

@ -27,6 +27,8 @@ void AOSfxPlayer::play(QString p_sfx, QString p_char, QString shout)
else else
f_path = sound_path; f_path = sound_path;
m_stream = BASS_StreamCreateFile(FALSE, f_path.utf16(), 0, 0, BASS_STREAM_AUTOFREE | BASS_UNICODE | BASS_ASYNCFILE);
set_volume(m_volume); set_volume(m_volume);
if (ao_app->get_audio_output_device() != "Default") if (ao_app->get_audio_output_device() != "Default")