Skip to main content

audio_play_with_format

Function audio_play_with_format 

Source
pub fn audio_play_with_format(data: &[u8], format: AudioFormat) -> i32
Expand description

Play with an optional format hint (AudioFormat::Unknown = same as audio_play). If the hint disagrees with what the host sniffs from the bytes, the host logs a warning but still decodes.