13
0

signed VCA numbers

This commit is contained in:
Paul Davis 2016-07-08 11:44:13 -04:00
parent b37ec38d86
commit 965def3caf
2 changed files with 3 additions and 3 deletions

View File

@ -44,10 +44,10 @@ class LIBARDOUR_API VCAManager : public SessionHandleRef, public PBD::StatefulDe
VCAManager (ARDOUR::Session&);
~VCAManager ();
int create_vca (uint32_t n, std::string const & name = std::string());
int create_vca (uint32_t how_many, std::string const & name = std::string());
void remove_vca (boost::shared_ptr<VCA>);
boost::shared_ptr<VCA> vca_by_number(uint32_t) const;
boost::shared_ptr<VCA> vca_by_number(int32_t) const;
VCAList vcas() const;
VCAList::size_type n_vcas() const { return _vcas.size(); }

View File

@ -116,7 +116,7 @@ VCAManager::remove_vca (boost::shared_ptr<VCA> vca)
}
boost::shared_ptr<VCA>
VCAManager::vca_by_number (uint32_t n) const
VCAManager::vca_by_number (int32_t n) const
{
Mutex::Lock lm (lock);