fix for injected audio going to unreachable

This commit is contained in:
Stephen Birarda 2018-09-07 12:01:09 -07:00
parent b7c6fa003d
commit 7e4cfd3c78

View file

@ -367,6 +367,7 @@ bool AudioMixerClientData::containsValidPosition(ReceivedMessage& message) const
case PacketType::InjectAudio: {
// skip the stream ID, stereo flag, and loopback flag
message.seek(message.getPosition() + NUM_STREAM_ID_BYTES + sizeof(ChannelFlag) + sizeof(LoopbackFlag));
break;
}
default:
Q_UNREACHABLE();