From 1124d6b073546bacd58bce640bbcc08db4f8b341 Mon Sep 17 00:00:00 2001 From: Cerapter Date: Tue, 4 Sep 2018 20:39:08 +0200 Subject: `QMediaPlayer` instead of `QSoundEffect` for SFX and blips. Maybe temporary. --- aosfxplayer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aosfxplayer.h') diff --git a/aosfxplayer.h b/aosfxplayer.h index 1b73e490..ab9fd979 100644 --- a/aosfxplayer.h +++ b/aosfxplayer.h @@ -6,7 +6,7 @@ #include #include #include -#include +#include class AOSfxPlayer { @@ -21,7 +21,7 @@ public: private: QWidget *m_parent; AOApplication *ao_app; - QSoundEffect *m_sfxplayer; + QMediaPlayer *m_sfxplayer; int m_volume = 0; }; -- cgit