Skip to content
Chris Petersen edited this page Oct 16, 2014 · 3 revisions

audiofile-start starts the audio subsystem, this is only necessary if audiofile-stop has been previously called since the audio subsystem is started within audiofile-init.

Example

Example of stopping the audio subsystem for a vibration and then at some later time starting it again. This must be done on iOS for the vibration to work if the audio subsystem has been initialized, but this step is not necessary on Android.

(audiofile-stop)
(vibrate)
...
(audiofile-start)
(audiofile-play ahooga)
Clone this wiki locally