Work in progress OSC Control manager

Support for log, output and source targets. Now needs to be developed for all attributes.
This commit is contained in:
Bruno Herbelin
2021-12-19 01:11:29 +01:00
parent a612154123
commit 3a9c6f56bf
8 changed files with 213 additions and 14 deletions

View File

@@ -831,6 +831,16 @@ void Mixer::setCurrentSource(Source *s)
setCurrentSource( session_->find(s) );
}
Source *Mixer::sourceAtIndex (int index)
{
SourceList::iterator s = session_->at(index);
if (s!=session_->end())
return *s;
else
return nullptr;
}
void Mixer::setCurrentIndex(int index)
{
setCurrentSource( session_->at(index) );