aboutsummaryrefslogtreecommitdiff
path: root/include/aosfxplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aosfxplayer.h')
-rw-r--r--include/aosfxplayer.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h
index 4b976852..b6dce85d 100644
--- a/include/aosfxplayer.h
+++ b/include/aosfxplayer.h
@@ -9,12 +9,11 @@
#include "aoapplication.h"
+#include <QDebug>
#include <QWidget>
#include <string.h>
-#include <QDebug>
-class AOSfxPlayer
-{
+class AOSfxPlayer {
public:
AOSfxPlayer(QWidget *parent, AOApplication *p_ao_app);
@@ -25,11 +24,11 @@ public:
private:
QWidget *m_parent;
AOApplication *ao_app;
- #if defined(BASSAUDIO)
+#if defined(BASSAUDIO)
HSTREAM m_stream;
- #elif defined(QTAUDIO)
+#elif defined(QTAUDIO)
QSoundEffect m_sfx;
- #endif
+#endif
int m_volume = 0;
};