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

Spatial sound pool cache bug #962

Closed
Qriva opened this issue May 19, 2018 · 1 comment
Closed

Spatial sound pool cache bug #962

Qriva opened this issue May 19, 2018 · 1 comment

Comments

@Qriva
Copy link

Qriva commented May 19, 2018

I am using single sound in two ways: as spatial sound and normal one.
When I play for example 3 times spatial sound (by settting pannerAttr) its is all fine.
Playing normal sound after this works correctly too but there is a problem with cache if i stop my sounds.

After using .stop() to stop all sounds in a group, when I use normal play() play again then my sound is played as spatial.
If I click play few times the n'th sound will be normal (4th one for this example).
It looks like Howler cache spatial sounds as the normal one and then after using play instead of "clean" sound I get the old one with the old pannerAttr.
I think this is not expected behaviour.

What is the best solution to fix it for now?
Disable cache for each sound used this way or there is another option?

@goldfire
Copy link
Owner

Thanks, this should now be fixed on master.

ringcrl pushed a commit to ringcrl/howler.js that referenced this issue Apr 21, 2019
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

No branches or pull requests

2 participants