Skip to content
Dustin edited this page Jan 7, 2014 · 3 revisions

audiofile-stop stops the audio subsystem, this is necessary to perform a vibration on iOS. The audio subsystem can then be restarted with audiofile-start.

Example

Example of starting and stopping the audio subsystem for a vibration. 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)

Clone this wiki locally