Trait music_player_playback::decoder::AudioDecoder
source · pub trait AudioDecoder {
// Required methods
fn seek(&mut self, position_ms: u32) -> Result<u32, DecoderError>;
fn next_packet(
&mut self
) -> DecoderResult<Option<(AudioPacketPosition, AudioPacket, u16, u32)>>;
}