mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
don't send audio to nodes who don't have an active socket
This commit is contained in:
parent
b4ef3dbd8a
commit
14e258c357
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ void AudioMixer::run() {
|
|||
|
||||
const int PHASE_DELAY_AT_90 = 20;
|
||||
|
||||
if (node->getType() == NODE_TYPE_AGENT) {
|
||||
if (node->getType() == NODE_TYPE_AGENT && node->getActiveSocket()) {
|
||||
AvatarAudioRingBuffer* nodeRingBuffer = (AvatarAudioRingBuffer*) node->getLinkedData();
|
||||
|
||||
// zero out the client mix for this node
|
||||
|
|
Loading…
Reference in a new issue