aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/audiostream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiostream.h b/sound/audiostream.h
index e75c105f64..177848181c 100644
--- a/sound/audiostream.h
+++ b/sound/audiostream.h
@@ -90,7 +90,7 @@ protected:
int _len;
public:
ZeroInputStream(uint len) : _len(len) { }
- int readBuffer(int16 *buffer, int numSamples) {
+ int readBuffer(int16 *buffer, const int numSamples) {
int samples = MIN(_len, numSamples);
memset(buffer, 0, samples * 2);
_len -= samples;