diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-08 18:16:19 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-08 18:16:19 +0200 |
commit | e27096b054cbaa5c58063f96ee64b3af3af3e7bd (patch) | |
tree | 3630627a1de9c6592d21adb800f1e686e89310f9 /libs/ardour/plugin_insert.cc | |
parent | 752662051a1d7217ce842ded78d1ee8e041a112f (diff) |
consistent count/n_total API
Diffstat (limited to 'libs/ardour/plugin_insert.cc')
-rw-r--r-- | libs/ardour/plugin_insert.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index bda00f59d3..55b592561c 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -1073,7 +1073,7 @@ PluginInsert::check_inplace () { bool inplace_ok = !_plugins.front()->inplace_broken (); - if (_thru_map.count () > 0) { + if (_thru_map.n_total () > 0) { // TODO once midi-bypass is part of the mapping, ignore it inplace_ok = false; } |