Browse Source

Mixer/Chain: Don't block RT thread when printing debugging messages.

tags/non-daw-v1.2.0
Jonathan Moore Liles 12 years ago
parent
commit
e8892926fd
1 changed files with 9 additions and 8 deletions
  1. +9
    -8
      mixer/src/Chain.C

+ 9
- 8
mixer/src/Chain.C View File

@@ -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…
Cancel
Save