VCA API-change: return created VCAs (handy for Lua scripts)
This commit is contained in:
parent
51a0a2f74c
commit
c656aaab3c
@ -44,7 +44,7 @@ public:
|
|||||||
VCAManager (ARDOUR::Session&);
|
VCAManager (ARDOUR::Session&);
|
||||||
~VCAManager ();
|
~VCAManager ();
|
||||||
|
|
||||||
int create_vca (uint32_t how_many, std::string const & name = std::string());
|
VCAList create_vca (uint32_t how_many, std::string const & name = std::string());
|
||||||
void remove_vca (boost::shared_ptr<VCA>);
|
void remove_vca (boost::shared_ptr<VCA>);
|
||||||
|
|
||||||
boost::shared_ptr<VCA> vca_by_number(int32_t) const;
|
boost::shared_ptr<VCA> vca_by_number(int32_t) const;
|
||||||
|
@ -78,7 +78,7 @@ VCAManager::vcas () const
|
|||||||
return _vcas;
|
return _vcas;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
VCAList
|
||||||
VCAManager::create_vca (uint32_t howmany, std::string const & name_template)
|
VCAManager::create_vca (uint32_t howmany, std::string const & name_template)
|
||||||
{
|
{
|
||||||
VCAList vcal;
|
VCAList vcal;
|
||||||
@ -113,10 +113,9 @@ VCAManager::create_vca (uint32_t howmany, std::string const & name_template)
|
|||||||
|
|
||||||
_session.set_dirty ();
|
_session.set_dirty ();
|
||||||
|
|
||||||
return 0;
|
return vcal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
VCAManager::remove_vca (boost::shared_ptr<VCA> vca)
|
VCAManager::remove_vca (boost::shared_ptr<VCA> vca)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user