Add ability to unregister audio callback

This commit is contained in:
Jack Andersen
2017-01-22 21:20:40 -10:00
parent d6b54a3718
commit 7bf2ad48a7
3 changed files with 9 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ public:
std::unique_ptr<IAudioSubmix> allocateNewSubmix(bool mainOut, IAudioSubmixCallback* cb, int busId);
void register5MsCallback(std::function<void(double dt)>&& callback);
void unregister5MsCallback();
void setVolume(float vol);
const AudioVoiceEngineMixInfo& mixInfo() const;