Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarMainMixer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarMainMixer.hpp')
-rw-r--r--source/frontend/StarMainMixer.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/frontend/StarMainMixer.hpp b/source/frontend/StarMainMixer.hpp
index 2582a2f..9e5ba3f 100644
--- a/source/frontend/StarMainMixer.hpp
+++ b/source/frontend/StarMainMixer.hpp
@@ -17,10 +17,11 @@ public:
void setUniverseClient(UniverseClientPtr universeClient);
void setWorldPainter(WorldPainterPtr worldPainter);
- void update(bool muteSfx = false, bool muteMusic = false);
+ void update(float dt, bool muteSfx = false, bool muteMusic = false);
MixerPtr mixer() const;
+ void setSpeed(float speed);
void setVolume(float volume, float rampTime = 0.0f);
void read(int16_t* sampleData, size_t frameCount, Mixer::ExtraMixFunction = {});