Fix comparison of < 0 with bool.
git-svn-id: svn://localhost/ardour2/branches/3.0@8623 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
66c9e166f8
commit
d46766aeff
@ -536,7 +536,7 @@ PluginInsert::plugin_factory (boost::shared_ptr<Plugin> other)
|
|||||||
bool
|
bool
|
||||||
PluginInsert::configure_io (ChanCount in, ChanCount out)
|
PluginInsert::configure_io (ChanCount in, ChanCount out)
|
||||||
{
|
{
|
||||||
if (set_count (count_for_configuration (in, out)) < 0) {
|
if (set_count (count_for_configuration (in, out)) == false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -547,7 +547,7 @@ PluginInsert::configure_io (ChanCount in, ChanCount out)
|
|||||||
if we running a single plugin, we need to configure it.
|
if we running a single plugin, we need to configure it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (_plugins.front()->configure_io (in, out) < 0) {
|
if (_plugins.front()->configure_io (in, out) == false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user