aboutsummaryrefslogtreecommitdiff
path: root/aoblipplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'aoblipplayer.h')
-rw-r--r--aoblipplayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/aoblipplayer.h b/aoblipplayer.h
index aebba77d..c8a8cb6d 100644
--- a/aoblipplayer.h
+++ b/aoblipplayer.h
@@ -1,17 +1,18 @@
#ifndef AOBLIPPLAYER_H
#define AOBLIPPLAYER_H
-#include "bass.h"
#include "aoapplication.h"
#include <QWidget>
#include <string.h>
#include <QDebug>
+#include <QSoundEffect>
class AOBlipPlayer
{
public:
AOBlipPlayer(QWidget *parent, AOApplication *p_ao_app);
+ ~AOBlipPlayer();
void set_blips(QString p_sfx);
void blip_tick();
@@ -22,9 +23,9 @@ public:
private:
QWidget *m_parent;
AOApplication *ao_app;
+ QSoundEffect *m_sfxplayer;
int m_volume;
- HSTREAM m_stream_list[5];
};
#endif // AOBLIPPLAYER_H