aboutsummaryrefslogtreecommitdiff
path: root/audio/mixer_intern.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mixer_intern.h')
-rw-r--r--audio/mixer_intern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/mixer_intern.h b/audio/mixer_intern.h
index c8df9a594d..dd2746e9ea 100644
--- a/audio/mixer_intern.h
+++ b/audio/mixer_intern.h
@@ -118,8 +118,10 @@ public:
* The mixer callback function, to be called at regular intervals by
* the backend (e.g. from an audio mixing thread). All the actual mixing
* work is done from here.
+ *
+ * @return number of sample pairs processed (which can still be silence!)
*/
- void mixCallback(byte *samples, uint len);
+ int mixCallback(byte *samples, uint len);
/**
* Set the internal 'is ready' flag of the mixer.