add debug to AvatarMixer, not AudioMixer

This commit is contained in:
Stephen Birarda 2013-10-17 17:44:32 -07:00
parent ce934b0684
commit 79451f974a
2 changed files with 1 additions and 1 deletions

View file

@ -359,7 +359,6 @@ void AudioMixer::run() {
// pull any new audio data from nodes off of the network stack
while (nodeList->getNodeSocket()->receive(nodeAddress, packetData, &receivedBytes) &&
packetVersionMatch(packetData)) {
qDebug() << "Received a packet with header" << packetData[0] << "\n";
if (packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_NO_ECHO
|| packetData[0] == PACKET_TYPE_MICROPHONE_AUDIO_WITH_ECHO
|| packetData[0] == PACKET_TYPE_INJECT_AUDIO) {

View file

@ -129,6 +129,7 @@ void AvatarMixer::run() {
if (nodeList->getNodeSocket()->receive(&nodeAddress, packetData, &receivedBytes) &&
packetVersionMatch(packetData)) {
qDebug() << "Received a packet with header" << packetData[0] << "\n";
switch (packetData[0]) {
case PACKET_TYPE_HEAD_DATA:
nodeUUID = QUuid::fromRfc4122(QByteArray((char*) packetData + numBytesForPacketHeader(packetData),