mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
Bump protocol version. Audio packets are now exactly 10ms (240/480 samples).
This commit is contained in:
parent
46c94a938e
commit
87d5ec2437
2 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,7 @@ PacketVersion versionForPacketType(PacketType packetType) {
|
|||
case PacketType::InjectAudio:
|
||||
case PacketType::MicrophoneAudioNoEcho:
|
||||
case PacketType::MicrophoneAudioWithEcho:
|
||||
return static_cast<PacketVersion>(AudioVersion::CodecNameInAudioPackets);
|
||||
return static_cast<PacketVersion>(AudioVersion::Exactly10msAudioPackets);
|
||||
|
||||
default:
|
||||
return 17;
|
||||
|
|
|
@ -217,7 +217,8 @@ enum class DomainListVersion : PacketVersion {
|
|||
|
||||
enum class AudioVersion : PacketVersion {
|
||||
HasCompressedAudio = 17,
|
||||
CodecNameInAudioPackets
|
||||
CodecNameInAudioPackets,
|
||||
Exactly10msAudioPackets
|
||||
};
|
||||
|
||||
#endif // hifi_PacketHeaders_h
|
||||
|
|
Loading…
Reference in a new issue