playSound

open fun playSound(soundBytes: Array<Byte>, len: Int): Long

Plays sound (WAV data) through underlying Audio library (takes advantage ofecho cancellation logic)

Return

64-bit id used to identify this sound if you need to stop it

Parameters

soundBytes

A byte array of WAV data

len

The length of the byte array