data sent to client from mixer must include packet header

This commit is contained in:
Stephen Birarda 2013-05-15 12:13:39 -07:00
parent e4a734fc78
commit 182b0b4fa1

View file

@ -256,7 +256,7 @@ int main(int argc, const char* argv[]) {
}
memcpy(clientPacket + 1, clientSamples, sizeof(clientSamples));
agentList->getAgentSocket().send(agent->getPublicSocket(), clientSamples, BUFFER_LENGTH_BYTES + 1);
agentList->getAgentSocket().send(agent->getPublicSocket(), clientPacket, BUFFER_LENGTH_BYTES + 1);
}
// push forward the next output pointers for any audio buffers we used