mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2026-02-06 17:35:42 +00:00
Moved class members to bottom, replaced some types and added default initializers.
Mostly replaced raw pointers with std::unique_ptr for easier memory management. Probably not needed for many of those classes, but was the least intrusive change for now.
This commit is contained in:
@ -738,10 +738,10 @@ static auto PcmAdd(projectm_handle instance, const BufferType* samples, unsigned
|
||||
auto* projectMInstance = handle_to_instance(instance);
|
||||
|
||||
if(channels == PROJECTM_MONO) {
|
||||
projectMInstance->pcm()->AddMono(samples, count);
|
||||
projectMInstance->pcm().AddMono(samples, count);
|
||||
}
|
||||
else {
|
||||
projectMInstance->pcm()->AddStereo(samples, count);
|
||||
projectMInstance->pcm().AddStereo(samples, count);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user