From 0fedf354e0a2ede8732660e24f6cb157c954a6cd Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 3 Jun 2013 12:10:18 -0700 Subject: [PATCH] don't attempt to send microphone audio if AgentList is NULL --- interface/src/Audio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/src/Audio.cpp b/interface/src/Audio.cpp index 97929a99ca..995cb12a7f 100644 --- a/interface/src/Audio.cpp +++ b/interface/src/Audio.cpp @@ -116,7 +116,7 @@ int audioCallback (const void* inputBuffer, printLog("got output\n"); } - if (inputLeft) { + if (agentList && inputLeft) { // Measure the loudness of the signal from the microphone and store in audio object float loudness = 0;