mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
don't attempt to inject if audio mixer has no active socket
This commit is contained in:
parent
75d8934961
commit
7d48c9b3bd
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ void* AudioInjectionManager::injectAudioViaThread(void* args) {
|
|||
// if we don't have an explicit destination socket then pull active socket for current audio mixer from node list
|
||||
if (!_isDestinationSocketExplicit) {
|
||||
Node* audioMixer = NodeList::getInstance()->soloNodeOfType(NODE_TYPE_AUDIO_MIXER);
|
||||
if (audioMixer) {
|
||||
if (audioMixer && audioMixer->getActiveSocket()) {
|
||||
_destinationSocket = *audioMixer->getActiveSocket();
|
||||
} else {
|
||||
pthread_exit(0);
|
||||
|
|
Loading…
Reference in a new issue