aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aosfxplayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h
index 9c9824ab..99188719 100644
--- a/include/aosfxplayer.h
+++ b/include/aosfxplayer.h
@@ -35,11 +35,12 @@ private:
bool m_looping = true;
void set_volume_internal(qreal p_volume);
-#if defined(BASSAUDIO)
const int m_channelmax = 5;
+
+#if defined(BASSAUDIO)
HSTREAM m_stream_list[5];
#elif defined(QTAUDIO)
- QSoundEffect m_sfx;
+ QSoundEffect m_stream_list[5];
#endif
};