fix another semantically-significant-expression-in-assert case (though not a very important one, because the test is intended to fail)
git-svn-id: svn://localhost/ardour2/branches/3.0@14010 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4dd01105e1
commit
7ba1f94fb1
@ -179,7 +179,10 @@ Delivery::can_support_io_configuration (const ChanCount& in, ChanCount& out) con
|
||||
bool
|
||||
Delivery::configure_io (ChanCount in, ChanCount out)
|
||||
{
|
||||
assert (!AudioEngine::instance()->process_lock().trylock());
|
||||
#ifndef NDEBUG
|
||||
bool r = AudioEngine::instance()->process_lock().trylock();
|
||||
assert (!r && "trylock inside Delivery::configure_io");
|
||||
#endif
|
||||
|
||||
/* check configuration by comparison with our I/O port configuration, if appropriate.
|
||||
see ::can_support_io_configuration() for comments
|
||||
|
Loading…
Reference in New Issue
Block a user