Struct ffav::codec::decoder::audio::Audio [−][src]
pub struct Audio(pub Opened);
Implementations
impl Audio
[src]
impl Audio
[src]pub fn decode<P: Ref>(
&mut self,
packet: &P,
out: &mut Audio
) -> Result<bool, Error>
[src]
&mut self,
packet: &P,
out: &mut Audio
) -> Result<bool, Error>
pub fn rate(&self) -> u32
[src]
pub fn channels(&self) -> u16
[src]
pub fn format(&self) -> Sample
[src]
pub fn request_format(&mut self, value: Sample)
[src]
pub fn frames(&self) -> usize
[src]
pub fn align(&self) -> usize
[src]
pub fn channel_layout(&self) -> ChannelLayout
[src]
pub fn set_channel_layout(&mut self, value: ChannelLayout)
[src]
pub fn request_channel_layout(&mut self, value: ChannelLayout)
[src]
pub fn audio_service(&mut self) -> AudioService
[src]
pub fn max_bit_rate(&self) -> usize
[src]
pub fn frame_size(&self) -> u32
[src]
pub fn frame_start(&self) -> Option<usize>
[src]
Methods from Deref<Target = Opened>
pub fn bit_rate(&self) -> usize
[src]
pub fn delay(&self) -> usize
[src]
pub fn profile(&self) -> Profile
[src]
pub fn frame_rate(&self) -> Option<Rational>
[src]
pub fn flush(&mut self)
[src]
Methods from Deref<Target = Decoder>
pub fn conceal(&mut self, value: Conceal)
[src]
pub fn check(&mut self, value: Check)
[src]
pub fn skip_loop_filter(&mut self, value: Discard)
[src]
pub fn skip_idct(&mut self, value: Discard)
[src]
pub fn skip_frame(&mut self, value: Discard)
[src]
pub fn time_base(&self) -> Rational
[src]
Methods from Deref<Target = Context>
pub unsafe fn as_ptr(&self) -> *const AVCodecContext
[src]
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVCodecContext
[src]
pub fn codec(&self) -> Option<Codec>
[src]
pub fn medium(&self) -> Type
[src]
pub fn set_flags(&mut self, value: Flags)
[src]
pub fn id(&self) -> Id
[src]
pub fn compliance(&mut self, value: Compliance)
[src]
pub fn debug(&mut self, value: Debug)
[src]
pub fn set_threading(&mut self, config: Config)
[src]
pub fn threading(&self) -> Config
[src]
pub fn set_parameters<P: Into<Parameters>>(
&mut self,
parameters: P
) -> Result<(), Error>
[src]
&mut self,
parameters: P
) -> Result<(), Error>