CrewLink
CrewLink copied to clipboard
allow stop test speaker
I added the possibility to stop the test speaker as soon as it started playing.
Closes #591
You should add:
audio.onended = () => { setPlaying(false); };
Because u forgot to reset the button when the sound stopped, for the rest nice.
thanks for the feedback @OhMyGuus ! It has been fixed