Increased size of unique identifier of objects: using uint64 instead of

int. Deep change in all concerned objects (Node, Source, Shader, etc.).
No behavior change, just more robust in duration.
This commit is contained in:
brunoherbelin
2020-10-06 22:45:52 +02:00
parent 977ae76f9b
commit 233fc64c4e
23 changed files with 96 additions and 93 deletions

View File

@@ -541,7 +541,7 @@ Source * Mixer::findSource (std::string namesource)
return nullptr;
}
Source * Mixer::findSource (int id)
Source * Mixer::findSource (uint64_t id)
{
SourceList::iterator it = session_->find(id);
if (it != session_->end())
@@ -550,7 +550,7 @@ Source * Mixer::findSource (int id)
}
void Mixer::setCurrentSource(int id)
void Mixer::setCurrentSource(uint64_t id)
{
setCurrentSource( session_->find(id) );
}