diff options
Diffstat (limited to 'aosfxplayer.h')
| -rw-r--r-- | aosfxplayer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/aosfxplayer.h b/aosfxplayer.h index 4fd597c9..1b73e490 100644 --- a/aosfxplayer.h +++ b/aosfxplayer.h @@ -1,17 +1,18 @@ #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 stop(); @@ -20,9 +21,9 @@ public: private: QWidget *m_parent; AOApplication *ao_app; + QSoundEffect *m_sfxplayer; int m_volume = 0; - HSTREAM m_stream; }; #endif // AOSFXPLAYER_H |
