diff options
| author | Cerapter <cerap@protonmail.com> | 2018-09-04 20:39:08 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-09-04 20:39:08 +0200 |
| commit | 1124d6b073546bacd58bce640bbcc08db4f8b341 (patch) | |
| tree | ea17dff01db072147708543d3cfd757523fae5e2 /aosfxplayer.h | |
| parent | ecade0dc13465059c93932fe863aa1e3f1f7e16c (diff) | |
`QMediaPlayer` instead of `QSoundEffect` for SFX and blips.
Maybe temporary.
Diffstat (limited to 'aosfxplayer.h')
| -rw-r--r-- | aosfxplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aosfxplayer.h b/aosfxplayer.h index 1b73e490..ab9fd979 100644 --- a/aosfxplayer.h +++ b/aosfxplayer.h @@ -6,7 +6,7 @@ #include <QWidget> #include <string.h> #include <QDebug> -#include <QSoundEffect> +#include <QMediaPlayer> class AOSfxPlayer { @@ -21,7 +21,7 @@ public: private: QWidget *m_parent; AOApplication *ao_app; - QSoundEffect *m_sfxplayer; + QMediaPlayer *m_sfxplayer; int m_volume = 0; }; |
