mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-07 16:30:00 +01:00
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:
@@ -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) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user