Struct openlibspot_playback::decoder::SymphoniaDecoder
source · pub struct SymphoniaDecoder { /* private fields */ }
Implementations§
source§impl SymphoniaDecoder
impl SymphoniaDecoder
pub fn new<R>(input: R, file_format: AudioFileFormat) -> DecoderResult<Self>where
R: MediaSource + 'static,
pub fn normalisation_data(&mut self) -> Option<NormalisationData>
Trait Implementations§
source§impl AudioDecoder for SymphoniaDecoder
impl AudioDecoder for SymphoniaDecoder
fn seek(&mut self, position_ms: u32) -> Result<u32, DecoderError>
fn next_packet( &mut self ) -> DecoderResult<Option<(AudioPacketPosition, AudioPacket)>>
Auto Trait Implementations§
impl !RefUnwindSafe for SymphoniaDecoder
impl Send for SymphoniaDecoder
impl Sync for SymphoniaDecoder
impl Unpin for SymphoniaDecoder
impl !UnwindSafe for SymphoniaDecoder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more