Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

audio: fix Param applyRamp() perf issue when context is disabled #2101

Merged

Conversation

richardeakin
Copy link
Collaborator

This addresses a bug where audio::Param::EventRefs would accumulate when the context is disabled. They'd be cleared once you re-enable the context, but if you were to leave the audio context disabled for a long period of time, then a huge std::list would build up and the performance would degrade.

@richardeakin richardeakin changed the title Audio fix apply context disabled audio: fix Param applyRamp() perf issue when context is disabled May 30, 2019
@richardeakin richardeakin merged commit 569eaa4 into cinder:master Jun 16, 2019
@richardeakin richardeakin deleted the audio_fix_apply_context_disabled branch June 16, 2019 18:25
3togo pushed a commit to 3togo/Cinder that referenced this pull request Aug 12, 2019
…ext_disabled

audio: fix Param applyRamp() perf issue when context is disabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant