-
Notifications
You must be signed in to change notification settings - Fork 856
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
Improve Performance #14
Comments
This was fixed on // setup
AudioPlayer player = new AudioPlayer();
player.setReleaseMode(ReleaseMode.STOP); // this will not release the player when finished
player.setUrl('...url...'); // this will prepare the player and leave it ready
// play
player.resume(); // instantly plays the sound
// dispose (after game/stage finishes)
player.release(); |
This was referenced Dec 27, 2018
Closed
Closed
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per discussed here, there is a performance impact when playing sounds at a really fast rate (like 2 per second). We need to take a look at what's causing this.
The text was updated successfully, but these errors were encountered: