mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 02:16:51 +02:00
return the result of PositionalAudioStream parseData
This commit is contained in:
parent
7430b12db6
commit
1e87fe77f2
1 changed files with 3 additions and 2 deletions
|
@ -113,13 +113,14 @@ int AudioMixerClientData::parseData(ReceivedMessage& message) {
|
||||||
|
|
||||||
// check the overflow count before we parse data
|
// check the overflow count before we parse data
|
||||||
auto overflowBefore = matchingStream->getOverflowCount();
|
auto overflowBefore = matchingStream->getOverflowCount();
|
||||||
matchingStream->parseData(message);
|
auto parseResult = matchingStream->parseData(message);
|
||||||
|
|
||||||
if (matchingStream->getOverflowCount() > overflowBefore) {
|
if (matchingStream->getOverflowCount() > overflowBefore) {
|
||||||
qDebug() << "Just overflowed on stream from" << message.getSourceID() << "at" << message.getSenderSockAddr();
|
qDebug() << "Just overflowed on stream from" << message.getSourceID() << "at" << message.getSenderSockAddr();
|
||||||
qDebug() << "This stream is for" << (isMicStream ? "microphone audio" : "injected audio");
|
qDebug() << "This stream is for" << (isMicStream ? "microphone audio" : "injected audio");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return parseResult;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue