Is there Livecode script to stop any audio currently playing. I code I have on on object is
put specialFolderPath("engine") & "/soundwavs/sound1.mp3" into tSndPath
play tSndPath
and I want to stop this audio when I click on another button
Also do I have to specify which MP3 to stop or is there a script to stop any playing audio?
To stop any audio currently playing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: To stop any audio currently playing
Hi abanowBUSTfGf,
what platform? If not posting to the correct forum, this info is essential!
The answers are in the "XXX Release Notes" PDF, which is the only docs for mobile,
so please take a look there from time to time!
...
## Page 33 -> Basic sound playback support
play empty
..
Will stop any sound currently playing and that has been started with "play soundfile".
If you are using "soundchannels" you need to pass the channle number.
Best
Klaus
what platform? If not posting to the correct forum, this info is essential!
The answers are in the "XXX Release Notes" PDF, which is the only docs for mobile,
so please take a look there from time to time!
...
## Page 33 -> Basic sound playback support
play empty
..
Will stop any sound currently playing and that has been started with "play soundfile".
If you are using "soundchannels" you need to pass the channle number.
Best
Klaus