mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
add debug to AvatarMixer, not AudioMixer
This commit is contained in:
parent
ce934b0684
commit
79451f974a
2 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue