mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 04:18:35 +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));
|
audioPacket->seek(sizeof(quint16));
|
||||||
|
|
||||||
if (silentFrame) {
|
if (silentFrame) {
|
||||||
// no matter what, the loudness should be set to 0
|
|
||||||
computeLoudness(nullptr, scriptedAvatar);
|
|
||||||
|
|
||||||
if (!_isListeningToAudioStream) {
|
if (!_isListeningToAudioStream) {
|
||||||
// if we have a silent frame and we're not listening then just send nothing and break out of here
|
// 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(scriptedAvatar->getPosition());
|
||||||
audioPacket->writePrimitive(glm::vec3(0));
|
audioPacket->writePrimitive(glm::vec3(0));
|
||||||
|
|
||||||
|
// no matter what, the loudness should be set to 0
|
||||||
|
computeLoudness(nullptr, scriptedAvatar);
|
||||||
} else if (nextSoundOutput) {
|
} else if (nextSoundOutput) {
|
||||||
|
|
||||||
// write the codec
|
// write the codec
|
||||||
|
|
Loading…
Reference in a new issue