Work in progress: setting status of source on creation (automatic

activation or not?).
This commit is contained in:
brunoherbelin
2020-06-22 23:52:31 +02:00
parent 8b35b0b4fe
commit 40037b3fa6
8 changed files with 52 additions and 12 deletions

View File

@@ -37,6 +37,13 @@ Session::~Session()
}
void Session::setActive (bool on)
{
for(auto it = sources_.begin(); it != sources_.end(); it++) {
(*it)->setActive(on);
}
}
// update all sources
void Session::update(float dt)
{