Re-add missing BASS_StreamCreateFile line
This commit is contained in:
parent
3876ecf95c
commit
9727acc974
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user