diff options
| author | sD <stoned@derpymail.org> | 2020-05-23 19:28:34 +0200 |
|---|---|---|
| committer | sD <stoned@derpymail.org> | 2020-05-23 19:28:34 +0200 |
| commit | e81fac7e07cdeca4682e712ec4c9b9585942f50a (patch) | |
| tree | ae1e1189725584e187da1549cf94f966a0a0c53c /include | |
| parent | 7a7dd25459f19796e38fde2148304376389a7a16 (diff) | |
fix qt sfx player
Diffstat (limited to 'include')
| -rw-r--r-- | include/aosfxplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 }; |
