circular-audio-wave icon indicating copy to clipboard operation
circular-audio-wave copied to clipboard

How do I stop audio

Open teerawat-dumrongthawatchai opened this issue 5 years ago • 2 comments

I try to reload it and use method pause and destroy but it not working

do you have a code snippet to see it?

kelvinau avatar Aug 27 '19 08:08 kelvinau

I ran into this same issue, and after checking the CircularAudioWave object, I found out it has sourceNode property though which you can pause the audio so if you CircularAudioWave object is a variable called waves, you can stop the audio via wave.sourceNode.stop() Hope this helps!

tomatopickle avatar Jun 22 '21 05:06 tomatopickle