mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 00:43:49 +02:00
fix a crash in AudioMixer with active socket but no linked data
This commit is contained in:
parent
9c950d4c23
commit
fc36e38d1c
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ void AudioMixer::run() {
|
||||||
|
|
||||||
const int PHASE_DELAY_AT_90 = 20;
|
const int PHASE_DELAY_AT_90 = 20;
|
||||||
|
|
||||||
if (node->getType() == NODE_TYPE_AGENT && node->getActiveSocket()) {
|
if (node->getType() == NODE_TYPE_AGENT && node->getActiveSocket() && node->getLinkedData()) {
|
||||||
AvatarAudioRingBuffer* nodeRingBuffer = (AvatarAudioRingBuffer*) node->getLinkedData();
|
AvatarAudioRingBuffer* nodeRingBuffer = (AvatarAudioRingBuffer*) node->getLinkedData();
|
||||||
|
|
||||||
// zero out the client mix for this node
|
// zero out the client mix for this node
|
||||||
|
|
Loading…
Reference in a new issue