From 7b2d5e7fabafbd88d2ee09a607092c367abdc2b4 Mon Sep 17 00:00:00 2001 From: David Kelly Date: Wed, 20 Jul 2016 10:41:16 -0700 Subject: [PATCH] Potential cause of that buzzsaw when resetting --- libraries/audio/src/InboundAudioStream.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libraries/audio/src/InboundAudioStream.cpp b/libraries/audio/src/InboundAudioStream.cpp index d781a1991b..a1a5915a8c 100644 --- a/libraries/audio/src/InboundAudioStream.cpp +++ b/libraries/audio/src/InboundAudioStream.cpp @@ -59,7 +59,9 @@ void InboundAudioStream::reset() { _isStarved = true; _hasStarted = false; resetStats(); - cleanupCodec(); + // FIXME: calling cleanupCodec() seems to be the cause of the buzzsaw -- we get an assert + // after this is called in AudioClient. Ponder and fix... + // cleanupCodec(); } void InboundAudioStream::resetStats() {