pub enum Bitrate {
Value(u32),
Auto,
Max,
}Expand description
Codec’s bitrate configuration
Variants§
Value(u32)
Value set in bits rates per second
Auto
Default setting. Determined by number of channels and sample rate
Max
Specifies to the codec to use as much rate as it can, which is useful for controlling the rate by adjusting the output buffer size
Trait Implementations§
impl Copy for Bitrate
impl Eq for Bitrate
impl StructuralPartialEq for Bitrate
Auto Trait Implementations§
impl Freeze for Bitrate
impl RefUnwindSafe for Bitrate
impl Send for Bitrate
impl Sync for Bitrate
impl Unpin for Bitrate
impl UnwindSafe for Bitrate
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