mirror of
https://github.com/lubosz/overte.git
synced 2025-04-16 14:16:36 +02:00
Merge pull request #7082 from birarda/hrtf-map-crash
fix for HRTF map crash
This commit is contained in:
commit
911591c0ea
1 changed files with 3 additions and 1 deletions
|
@ -476,7 +476,9 @@ void AudioMixer::removeHRTFsForFinishedInjector(const QUuid& streamID) {
|
|||
|
||||
nodeList->eachNode([injectorClientData, &streamID](const SharedNodePointer& node){
|
||||
auto listenerClientData = dynamic_cast<AudioMixerClientData*>(node->getLinkedData());
|
||||
listenerClientData->removeHRTFForStream(injectorClientData->getNodeID(), streamID);
|
||||
if (listenerClientData) {
|
||||
listenerClientData->removeHRTFForStream(injectorClientData->getNodeID(), streamID);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue