diff options
-rw-r--r-- | src/MKAudioOutput.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MKAudioOutput.m b/src/MKAudioOutput.m index 5b684d9..44e5458 100644 --- a/src/MKAudioOutput.m +++ b/src/MKAudioOutput.m @@ -209,7 +209,7 @@ } } } else { - memset((short *)frames, 0, nsamp * _numChannels); + memset((short *)frames, 0, nsamp * _numChannels * sizeof(short)); } [_outputLock unlock]; |