Skip to content

Conversation

@romainlq
Copy link

@romainlq romainlq commented Jan 20, 2021

I added the possibility to stop the test speaker as soon as it started playing.

Closes #591

@OhMyGuus
Copy link
Contributor

OhMyGuus commented Jan 22, 2021

You should add:
audio.onended = () => { setPlaying(false); };
Because u forgot to reset the button when the sound stopped, for the rest nice.

@romainlq
Copy link
Author

thanks for the feedback @OhMyGuus !
It has been fixed

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

Successfully merging this pull request may close these issues.

Allow to stop test speaker

2 participants