diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-08-17 21:09:13 +0200 |
|---|---|---|
| committer | stonedDiscord <stoned@derpymail.org> | 2019-08-17 21:09:13 +0200 |
| commit | 49be444d74cfdecdaa1090a2a51c19f70ae9b0b1 (patch) | |
| tree | 0dfd8b064f7c223f25f00de579e76b53ab484178 /include | |
| parent | 4700902551f80769b54cb452b0fcb794669c553b (diff) | |
OOP :convenience_store:
Diffstat (limited to 'include')
| -rw-r--r-- | include/aoblipplayer.h | 3 | ||||
| -rw-r--r-- | include/aosfxplayer.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/aoblipplayer.h b/include/aoblipplayer.h index 68dca19..44ca48b 100644 --- a/include/aoblipplayer.h +++ b/include/aoblipplayer.h @@ -22,7 +22,6 @@ public: void set_blips(QString p_sfx); void blip_tick(); void set_volume(qreal p_volume); - void set_volume_internal(qreal p_volume); int m_cycle = 0; @@ -31,6 +30,8 @@ private: AOApplication *ao_app; qreal m_volume; + void set_volume_internal(qreal p_volume); + #if defined(BASSAUDIO) HSTREAM m_stream_list[5]; #elif defined(QTAUDIO) diff --git a/include/aosfxplayer.h b/include/aosfxplayer.h index 5b4b41d..19d4bdf 100644 --- a/include/aosfxplayer.h +++ b/include/aosfxplayer.h @@ -21,13 +21,14 @@ public: void play(QString p_sfx, QString p_char = "", QString shout = ""); void stop(); void set_volume(qreal p_volume); - void set_volume_internal(qreal p_volume); private: QWidget *m_parent; AOApplication *ao_app; qreal m_volume = 0; + void set_volume_internal(qreal p_volume); + #if defined(BASSAUDIO) HSTREAM m_stream; #elif defined(QTAUDIO) |
