aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/sound/audio32.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2016-06-23 21:07:01 +0300
committerFilippos Karapetis2016-06-23 21:07:01 +0300
commit97c50fcfb88dd1ba7daefee1decc79298cbdb6ca (patch)
tree3b7ba9551dc01f0444e0ae8843f42b1774656c8f /engines/sci/sound/audio32.cpp
parenta9e2630d4e272c8b776cab54c47943addec7b807 (diff)
downloadscummvm-rg350-97c50fcfb88dd1ba7daefee1decc79298cbdb6ca.tar.gz
scummvm-rg350-97c50fcfb88dd1ba7daefee1decc79298cbdb6ca.tar.bz2
scummvm-rg350-97c50fcfb88dd1ba7daefee1decc79298cbdb6ca.zip
SCI32: Const correction in Audio32's readBuffer() implementation
Diffstat (limited to 'engines/sci/sound/audio32.cpp')
-rw-r--r--engines/sci/sound/audio32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/audio32.cpp b/engines/sci/sound/audio32.cpp
index 56b10c55fe..8dcdf797a9 100644
--- a/engines/sci/sound/audio32.cpp
+++ b/engines/sci/sound/audio32.cpp
@@ -233,7 +233,7 @@ int Audio32::writeAudioInternal(Audio::RewindableAudioStream *const sourceStream
// completely fill the audio buffer, the functionality of
// all these original functions is combined here and
// simplified.
-int Audio32::readBuffer(Audio::st_sample_t *const buffer, const int numSamples) {
+int Audio32::readBuffer(Audio::st_sample_t *buffer, const int numSamples) {
Common::StackLock lock(_mutex);
// The system mixer should not try to get data when