mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
Add API to query number of regionFX
This commit is contained in:
parent
db90906c7c
commit
8919594353
1 changed files with 5 additions and 0 deletions
|
|
@ -519,6 +519,11 @@ public:
|
|||
return !_plugins.empty ();
|
||||
}
|
||||
|
||||
size_t n_region_fx () const {
|
||||
Glib::Threads::RWLock::ReaderLock lm (_fx_lock);
|
||||
return _plugins.size ();
|
||||
}
|
||||
|
||||
std::shared_ptr<RegionFxPlugin> nth_plugin (uint32_t n) const {
|
||||
Glib::Threads::RWLock::ReaderLock lm (_fx_lock);
|
||||
for (auto const& i : _plugins) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue