pub struct SbcConfig {
pub subbands: u8,
pub block_length: u8,
pub allocation_method: SbcAllocationMethod,
pub channel_mode: SbcChannelMode,
pub sample_frequency: SbcSampleFrequency,
pub bitpool_min: u8,
pub bitpool_max: u8,
}Expand description
SBC codec configuration
Fields§
§subbands: u8Number of subbands (4 or 8)
block_length: u8Block length (4, 8, 12, or 16)
allocation_method: SbcAllocationMethodAllocation method
channel_mode: SbcChannelModeChannel mode
sample_frequency: SbcSampleFrequencySample frequency
bitpool_min: u8Minimum bitpool value (2-250)
bitpool_max: u8Maximum bitpool value (2-250)
Trait Implementations§
impl Copy for SbcConfig
impl Eq for SbcConfig
impl StructuralPartialEq for SbcConfig
Auto Trait Implementations§
impl Freeze for SbcConfig
impl RefUnwindSafe for SbcConfig
impl Send for SbcConfig
impl Sync for SbcConfig
impl Unpin for SbcConfig
impl UnwindSafe for SbcConfig
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)