aboutsummaryrefslogtreecommitdiff
path: root/aosfxplayer.h
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-09-15 01:37:11 +0200
committerCerapter <cerap@protonmail.com>2018-09-15 01:37:11 +0200
commit3a1d202363df5a6d5c5e2148736ec0308aed5d7e (patch)
tree42820846ad88d35c390f2865da796df719f784e4 /aosfxplayer.h
parent8006d40d1495a848b07a59bf514100648c82459c (diff)
Revert "`QMediaPlayer` instead of `QSoundEffect` for SFX and blips."
This reverts commit 1124d6b073546bacd58bce640bbcc08db4f8b341.
Diffstat (limited to 'aosfxplayer.h')
-rw-r--r--aosfxplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/aosfxplayer.h b/aosfxplayer.h
index 4494b3e9..ab398e0c 100644
--- a/aosfxplayer.h
+++ b/aosfxplayer.h
@@ -6,7 +6,7 @@
#include <QWidget>
#include <string.h>
#include <QDebug>
-#include <QMediaPlayer>
+#include <QSoundEffect>
class AOSfxPlayer
{
@@ -21,7 +21,7 @@ public:
private:
QWidget *m_parent;
AOApplication *ao_app;
- QMediaPlayer *m_sfxplayer;
+ QSoundEffect *m_sfxplayer;
int m_volume = 0;
};