mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
fix scope for switch case
This commit is contained in:
parent
6e9da9747e
commit
193c125d66
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,7 @@ void DatagramProcessor::processDatagrams() {
|
|||
switch (incomingType) {
|
||||
case PacketTypeMixedAudio:
|
||||
case PacketTypeSilentAudioFrame:
|
||||
case PacketTypeAudioStreamStats:
|
||||
case PacketTypeAudioStreamStats: {
|
||||
if (incomingType != PacketTypeAudioStreamStats) {
|
||||
QMetaObject::invokeMethod(&application->_audio, "addReceivedAudioToStream", Qt::QueuedConnection,
|
||||
Q_ARG(QByteArray, incomingPacket));
|
||||
|
@ -69,6 +69,7 @@ void DatagramProcessor::processDatagrams() {
|
|||
}
|
||||
|
||||
break;
|
||||
}
|
||||
case PacketTypeParticleAddResponse:
|
||||
// this will keep creatorTokenIDs to IDs mapped correctly
|
||||
Particle::handleAddParticleResponse(incomingPacket);
|
||||
|
|
Loading…
Reference in a new issue