squish types in audio mixer, use -> notation for other avatars

This commit is contained in:
Stephen Birarda 2013-04-25 15:51:10 -07:00
parent 625a963918
commit f7e83b2080

View file

@ -128,7 +128,7 @@ void *sendBuffer(void *args)
for (AgentList::iterator otherAgent = agentList->begin(); agent != agentList->end(); agent++) {
if (otherAgent != agent || ( otherAgent == agent && agentWantsLoopback)) {
AudioRingBuffer *otherAgentBuffer = (AudioRingBuffer *)(*otherAgent).getLinkedData();
AudioRingBuffer* otherAgentBuffer = (AudioRingBuffer*) otherAgent->getLinkedData();
float *agentPosition = agentRingBuffer->getPosition();
float *otherAgentPosition = otherAgentBuffer->getPosition();