Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumblekit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikkel Krautz <mikkel@krautz.dk>2016-11-28 01:52:17 +0300
committerGitHub <noreply@github.com>2016-11-28 01:52:17 +0300
commit5af6446c8cc4f256f43e8f2fb4df0298d4200956 (patch)
treeb9dad03957fdd145a5caac302b5ee1cfcdb2d991
parent87ee7842ee8c859117d625b4a2fb948585efca4f (diff)
parentde9cd025f936b56f9e1c9768cc2d777185b0d7f2 (diff)
Merge PR #46: Fixed memset not setting entire array 0
-rw-r--r--src/MKAudioOutput.m2
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];