mirror of
https://github.com/lubosz/overte.git
synced 2025-04-18 04:18:17 +02:00
oh man, this was hard to find
This commit is contained in:
parent
81451191c1
commit
29f263a296
1 changed files with 2 additions and 2 deletions
|
@ -637,8 +637,6 @@ void Agent::processAgentAvatarAudio() {
|
|||
audioPacket->seek(sizeof(quint16));
|
||||
|
||||
if (silentFrame) {
|
||||
// no matter what, the loudness should be set to 0
|
||||
computeLoudness(nullptr, scriptedAvatar);
|
||||
|
||||
if (!_isListeningToAudioStream) {
|
||||
// if we have a silent frame and we're not listening then just send nothing and break out of here
|
||||
|
@ -658,6 +656,8 @@ void Agent::processAgentAvatarAudio() {
|
|||
audioPacket->writePrimitive(scriptedAvatar->getPosition());
|
||||
audioPacket->writePrimitive(glm::vec3(0));
|
||||
|
||||
// no matter what, the loudness should be set to 0
|
||||
computeLoudness(nullptr, scriptedAvatar);
|
||||
} else if (nextSoundOutput) {
|
||||
|
||||
// write the codec
|
||||
|
|
Loading…
Reference in a new issue