-
Notifications
You must be signed in to change notification settings - Fork 67
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
Energy use #129
Comments
|
Understood. As an accompanying concern, are any of the built-in PIXI tickers being used? We often fiddle with the FPS of some of these, and completely stop others. Haven't run into any issues with sound yet, but wouldn't want to find something out the hard way. In our experience, high ticker rates results in more cpu use. |
Each playing audio instance will attach a listener to
That said, the actual cpu usage of the update method depends on the number of sounds playing and due to the small amount of basic math should pale in the comparison to usage due to rendering. |
I believe I’m noticing different amounts of energy use (as measured by the Activity Monitor in OSX) in different scenarios. In particular, when I pause a game (stop all rendering and tickers) if I issue a PIXI.sound.pauseAll() I see a MUCH lower average energy impact than if I only pause the 1 or 2 sounds that are playing at that moment. Is there some background process running that pauseAll interrupts?
The text was updated successfully, but these errors were encountered: