aboutsummaryrefslogtreecommitdiff
path: root/include/aosfxplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/aosfxplayer.h')
-rw-r--r--include/aosfxplayer.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h
index 5b4d2ece..af3aef6d 100644
--- a/include/aosfxplayer.h
+++ b/include/aosfxplayer.h
@@ -9,13 +9,12 @@
#include "aoapplication.h"
-#include <QWidget>
-#include <string.h>
#include <QDebug>
#include <QTimer>
+#include <QWidget>
+#include <string.h>
-class AOSfxPlayer : public QObject
-{
+class AOSfxPlayer : public QObject {
Q_OBJECT
public:
AOSfxPlayer(QWidget *parent, AOApplication *p_ao_app);
@@ -33,11 +32,11 @@ private:
void set_volume_internal(qreal p_volume);
- #if defined(BASSAUDIO)
+#if defined(BASSAUDIO)
HSTREAM m_stream;
- #elif defined(QTAUDIO)
- QSoundEffect m_sfx;
- #endif
+#elif defined(QTAUDIO)
+ QSoundEffect m_sfx;
+#endif
};
#endif // AOSFXPLAYER_H