Mixer/Chain: Don't block RT thread when printing debugging messages.
This commit is contained in:
parent
0e467993a2
commit
e8892926fd
|
@ -562,12 +562,6 @@ Chain::insert ( Module *m, Module *n )
|
|||
n->chain( this );
|
||||
}
|
||||
|
||||
DMESSAGE( "Module \"%s\" has %i:%i audio and %i:%i control ports",
|
||||
n->name(),
|
||||
n->ninputs(),
|
||||
n->noutputs(),
|
||||
n->ncontrol_inputs(),
|
||||
n->ncontrol_outputs() );
|
||||
|
||||
strip()->handle_module_added( n );
|
||||
|
||||
|
@ -575,14 +569,21 @@ Chain::insert ( Module *m, Module *n )
|
|||
|
||||
engine()->unlock();
|
||||
|
||||
DMESSAGE( "Module \"%s\" has %i:%i audio and %i:%i control ports",
|
||||
n->name(),
|
||||
n->ninputs(),
|
||||
n->noutputs(),
|
||||
n->ncontrol_inputs(),
|
||||
n->ncontrol_outputs() );
|
||||
|
||||
return true;
|
||||
|
||||
err:
|
||||
|
||||
DMESSAGE( "Insert failed" );
|
||||
|
||||
engine()->unlock();
|
||||
|
||||
DMESSAGE( "Insert failed" );
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue