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

Fade out only if sound is already playing #116

Open
Salitehkat opened this issue Jul 26, 2018 · 0 comments
Open

Fade out only if sound is already playing #116

Salitehkat opened this issue Jul 26, 2018 · 0 comments

Comments

@Salitehkat
Copy link

Salitehkat commented Jul 26, 2018

HI,

I have two events.
Event 1: sound must fadeIn
Event 2; sound must fade Out.
The problem is that if i trigger Event 2 before Event 1 the sound starts playing in order to do fade out.
How can I control that the fade out only happens if the sound is already playing (only if event 1 has been triggered)?

I am asking here cause I believe FadeOut considers only if the sound is already playing. Sorry if I am wrong and thanks for any help.

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

1 participant