mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Fix AudioMixer packetReceiver calls
This commit is contained in:
parent
972c465bdb
commit
74afbd7de7
1 changed files with 6 additions and 6 deletions
|
@ -97,12 +97,12 @@ AudioMixer::AudioMixer(const QByteArray& packet) :
|
|||
// SOON
|
||||
|
||||
auto& packetReceiver = DependencyManager::get<NodeList>()->getPacketReceiver();
|
||||
packetReceiver->registerPacketListener(PacketType::MicrophoneAudioNoEcho, this, "handleMicrophoneAudioNoEchoPacket");
|
||||
packetReceiver->registerPacketListener(PacketType::MicrophoneAudioWithEcho, this, "handleMicrophoneAudioWithEchoPacket");
|
||||
packetReceiver->registerPacketListener(PacketType::InjectAudio, this, "handleInjectAudioPacket");
|
||||
packetReceiver->registerPacketListener(PacketType::SilentAudioFrame, this, "handleSilentAudioFramePacket");
|
||||
packetReceiver->registerPacketListener(PacketType::AudioStreamStats, this, "handleAudioStreamStatsPacket");
|
||||
packetReceiver->registerPacketListener(PacketType::MuteEnvironment, this, "handleMuteEnvironmentPacket");
|
||||
packetReceiver.registerPacketListener(PacketType::MicrophoneAudioNoEcho, this, "handleMicrophoneAudioNoEchoPacket");
|
||||
packetReceiver.registerPacketListener(PacketType::MicrophoneAudioWithEcho, this, "handleMicrophoneAudioWithEchoPacket");
|
||||
packetReceiver.registerPacketListener(PacketType::InjectAudio, this, "handleInjectAudioPacket");
|
||||
packetReceiver.registerPacketListener(PacketType::SilentAudioFrame, this, "handleSilentAudioFramePacket");
|
||||
packetReceiver.registerPacketListener(PacketType::AudioStreamStats, this, "handleAudioStreamStatsPacket");
|
||||
packetReceiver.registerPacketListener(PacketType::MuteEnvironment, this, "handleMuteEnvironmentPacket");
|
||||
}
|
||||
|
||||
const float ATTENUATION_BEGINS_AT_DISTANCE = 1.0f;
|
||||
|
|
Loading…
Reference in a new issue