Skip to content

Am I supposed to call other methods before or after calling play()? #1562

Answered by goldfire
MattTreichelYeah asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you can call those before and howler will queue those for you. However, if you were playing multiple sounds, calling them before without a sound ID is going to affect all current and future sounds from that howl instance, rather than just the sound you are about to play. So, if you want it to affect the sound you are about to play, you need to pass the id and call them after you call play.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MattTreichelYeah
Comment options

Answer selected by MattTreichelYeah
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants