From e81fac7e07cdeca4682e712ec4c9b9585942f50a Mon Sep 17 00:00:00 2001 From: sD Date: Sat, 23 May 2020 19:28:34 +0200 Subject: fix qt sfx player --- include/aosfxplayer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h index 9c9824a..9918871 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 }; -- cgit