Function lewton::audio::read_audio_packet [] [src]

pub fn read_audio_packet(
    ident: &IdentHeader,
    setup: &SetupHeader,
    packet: &[u8],
    pwr: &mut PreviousWindowRight
) -> Result<Vec<Vec<i16>>, AudioReadError>

Main audio packet decoding function

Pass your info to this function to get your raw packet data decoded.