mirror of
https://github.com/lubosz/overte.git
synced 2025-04-12 01:22:10 +02:00
fix warnings
This commit is contained in:
parent
c484fec51d
commit
1ee5023f6d
2 changed files with 2 additions and 6 deletions
|
@ -36,10 +36,8 @@ void AbstractAudioInterface::emitAudioPacket(const void* audioData, size_t bytes
|
|||
auto sequence = sequenceNumber++;
|
||||
audioPacket->writePrimitive(sequence);
|
||||
|
||||
// write the codec - don't include this for injected audio
|
||||
if (packetType != PacketType::InjectAudio) {
|
||||
auto stringSize = audioPacket->writeString(codecName);
|
||||
}
|
||||
// write the codec
|
||||
audioPacket->writeString(codecName);
|
||||
|
||||
if (packetType == PacketType::SilentAudioFrame) {
|
||||
// pack num silent samples
|
||||
|
|
|
@ -101,8 +101,6 @@ void InboundAudioStream::perSecondCallbackForUpdatingStats() {
|
|||
}
|
||||
|
||||
int InboundAudioStream::parseData(ReceivedMessage& message) {
|
||||
PacketType packetType = message.getType();
|
||||
|
||||
// parse sequence number and track it
|
||||
quint16 sequence;
|
||||
message.readPrimitive(&sequence);
|
||||
|
|
Loading…
Reference in a new issue