Skip to content

Conversation

@bobtista
Copy link

@bobtista bobtista commented Nov 13, 2025

Optimizes AudioManager::addAudioEvent() to avoid wasted allocations and computations for sounds that won't play locally.

Changes:

  • Check shouldPlayLocally() before expensive operations

@bobtista bobtista force-pushed the bobtista/optimize-add-audio-event branch from c8831a0 to 2f03ad8 Compare November 30, 2025 01:50
@bobtista bobtista force-pushed the bobtista/optimize-add-audio-event branch from 2f03ad8 to b42cc31 Compare November 30, 2025 01:53
@bobtista bobtista marked this pull request as ready for review December 2, 2025 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Optimize AudioManager::addAudioEvent()

4 participants