mirror of
https://github.com/overte-org/overte.git
synced 2025-08-17 18:33:22 +02:00
Merge branch 'atp' of https://github.com/birarda/hifi into protocol
This commit is contained in:
commit
6c98c23524
1 changed files with 2 additions and 1 deletions
|
@ -133,7 +133,8 @@ int InboundAudioStream::parseData(NLPacket& packet) {
|
|||
if (packet.getType() == PacketType::SilentAudioFrame) {
|
||||
writeDroppableSilentSamples(networkSamples);
|
||||
} else {
|
||||
int audioBytes = parseAudioData(packet.getType(), QByteArray::fromRawData(packet.getPayload(), packet.pos()),
|
||||
int audioBytes = parseAudioData(packet.getType(), QByteArray::fromRawData(packet.getPayload(),
|
||||
packet.bytesLeftToRead()),
|
||||
networkSamples);
|
||||
packet.seek(packet.pos() + audioBytes);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue