Skip to main content

audio_play

Function audio_play 

Source
pub fn audio_play(data: &[u8]) -> i32
Expand description

Play audio from encoded bytes (WAV, MP3, OGG, FLAC). The host decodes and plays the audio. Returns 0 on success, negative on error.