don't attempt to send microphone audio if AgentList is NULL

This commit is contained in:
Stephen Birarda 2013-06-03 12:10:18 -07:00
parent f840103ef2
commit 0fedf354e0

View file

@ -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;