aboutsummaryrefslogtreecommitdiff
path: root/aosfxplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'aosfxplayer.cpp')
-rw-r--r--aosfxplayer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/aosfxplayer.cpp b/aosfxplayer.cpp
index 6ad59bae..c090be16 100644
--- a/aosfxplayer.cpp
+++ b/aosfxplayer.cpp
@@ -27,6 +27,7 @@ void AOSfxPlayer::play(QString p_sfx, QString p_char)
set_volume(m_volume);
+ BASS_ChannelSetDevice(m_stream, BASS_GetDevice());
BASS_ChannelPlay(m_stream, false);
}