stopSound
stopStream() Function
• Introduced in version 1.5.5
Stop an audio stream currently playing.
Usage
stopStream()
stopStream(uri)
stopStream(uri, remove)
stopStream(uri, remove, fadeout)
Parameter
uri
- The uri/url of the stream to stop. If set to "*", all audio streams are stopped. Defaults to "*".remove
- If set to 1, the audio file is removed from memory. Defaults to 1.fadeout
- Optional fadeout (in seconds) before stopping the stream. If set to 0, stop as soon as possible. Defaults to 0.