add packet receive debug

This commit is contained in:
Stephen Birarda 2013-10-17 17:43:44 -07:00
parent a4798acb22
commit ce934b0684

View file

@ -359,6 +359,7 @@ 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) {