aboutsummaryrefslogtreecommitdiff
path: root/include/aoblipplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aoblipplayer.h')
-rw-r--r--include/aoblipplayer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/aoblipplayer.h b/include/aoblipplayer.h
index aebba77d..102a0408 100644
--- a/include/aoblipplayer.h
+++ b/include/aoblipplayer.h
@@ -1,13 +1,19 @@
#ifndef AOBLIPPLAYER_H
#define AOBLIPPLAYER_H
+#if defined(BASSAUDIO)
#include "bass.h"
+#elif defined(QTAUDIO)
+#include <QSoundEffect>
+#endif
+
#include "aoapplication.h"
#include <QWidget>
#include <string.h>
#include <QDebug>
+
class AOBlipPlayer
{
public:
@@ -24,7 +30,11 @@ private:
AOApplication *ao_app;
int m_volume;
+ #if defined(BASSAUDIO)
HSTREAM m_stream_list[5];
+ #elif defined(QTAUDIO)
+ QSoundEffect m_blips;
+ #endif
};
#endif // AOBLIPPLAYER_H