diff options
Diffstat (limited to 'aosfxplayer.h')
| -rw-r--r-- | aosfxplayer.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/aosfxplayer.h b/aosfxplayer.h index 1b73e490..30cbe9d3 100644 --- a/aosfxplayer.h +++ b/aosfxplayer.h @@ -1,29 +1,28 @@ #ifndef AOSFXPLAYER_H #define AOSFXPLAYER_H +#include "bass.h" #include "aoapplication.h" #include <QWidget> #include <string.h> #include <QDebug> -#include <QSoundEffect> class AOSfxPlayer { public: AOSfxPlayer(QWidget *parent, AOApplication *p_ao_app); - ~AOSfxPlayer(); - void play(QString p_sfx, QString p_char = ""); + void play(QString p_sfx, QString p_char = "", QString shout = ""); void stop(); void set_volume(int p_volume); private: QWidget *m_parent; AOApplication *ao_app; - QSoundEffect *m_sfxplayer; int m_volume = 0; + HSTREAM m_stream; }; #endif // AOSFXPLAYER_H |
