diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-05-18 03:33:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-18 03:33:43 +0200 |
| commit | 51338e30e046f1a62c84049b34577f0f3b5db6e3 (patch) | |
| tree | 283c95f8f776ed852d03a816388695afd65c0f73 /include/aoblipplayer.h | |
| parent | 469e293a1885e49f1d5994d41ac7cfc9f4666952 (diff) | |
| parent | f9c7205210fb9f768f583065971ece09e6b5eb03 (diff) | |
Merge pull request #957 from AttorneyOnline/kaleidoscope
The Kaleidoscope - Hell, it's about time.
Diffstat (limited to 'include/aoblipplayer.h')
| -rw-r--r-- | include/aoblipplayer.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/include/aoblipplayer.h b/include/aoblipplayer.h deleted file mode 100644 index ea2dcd38..00000000 --- a/include/aoblipplayer.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef AOBLIPPLAYER_H -#define AOBLIPPLAYER_H - -#include "bass.h" -#include "bassopus.h" - -#include "aoapplication.h" - -#include <QDebug> -#include <QElapsedTimer> -#include <QWidget> -#include <string.h> - -class AOBlipPlayer { -public: - AOBlipPlayer(QWidget *parent, AOApplication *p_ao_app); - - void set_blips(QString p_sfx); - void blip_tick(); - void set_volume(int p_volume); - void set_muted(bool toggle); - - int m_cycle = 0; - -private: - QWidget *m_parent; - AOApplication *ao_app; - qreal m_volume; - - bool m_muted = false; - - void set_volume_internal(qreal p_volume); - - HSTREAM m_stream_list[5]; -}; - -#endif // AOBLIPPLAYER_H |
