playOutput

fun playOutput(audioOutput: AudioOutput)

Plays audio output. If audio queue is empty, output will be played immediately. Otherwise it will be added to the end of the queue and played later. Method is asynchronous so it is not waiting for sound playback itself. Note: If audio output is from file, make sure to have sufficient permission to read file (READ_EXTERNAL_STORAGE)

Parameters

audioOutput