mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 03:09:57 +01:00
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:
10
Mixer.cpp
10
Mixer.cpp
@@ -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) );
|
||||
|
||||
Reference in New Issue
Block a user