From 5a1d0606ce62d68e0f093073c1dbd1b508a3d0d5 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 10 May 2013 12:34:31 -0700 Subject: [PATCH] add some debugging to the mixer to track down bearing issue --- audio-mixer/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audio-mixer/src/main.cpp b/audio-mixer/src/main.cpp index 52889cee8e..6b63075da5 100644 --- a/audio-mixer/src/main.cpp +++ b/audio-mixer/src/main.cpp @@ -144,6 +144,8 @@ int main(int argc, const char* argv[]) { float weakChannelAmplitudeRatio = 1.f; if (otherAgent != agent) { + printf("DEBUG: The bearing for this agent is %f\n", agentRingBuffer->getBearing()); + Position agentPosition = agentRingBuffer->getPosition(); Position otherAgentPosition = otherAgentBuffer->getPosition();