pub struct CodecSpecificConfigLTV {
pub sampling_frequency: Option<SamplingFrequency>,
pub frame_duration: Option<FrameDuration>,
pub audio_channel_alloc: Option<AudioLocation>,
pub octets_per_codec_frame: Option<u16>,
pub codec_frame_blocks_per_sdu: Option<u8>,
}
Expand description
See Assigned Numbers section 6.12.5 Codec_Specific_Configuration LTV structures.
Fields§
§sampling_frequency: Option<SamplingFrequency>
§frame_duration: Option<FrameDuration>
§audio_channel_alloc: Option<AudioLocation>
§octets_per_codec_frame: Option<u16>
§codec_frame_blocks_per_sdu: Option<u8>
Implementations§
Source§impl CodecSpecificConfigLTV
impl CodecSpecificConfigLTV
pub fn to_le_bytes(&self) -> Vec<u8> ⓘ
pub fn to_be_bytes(&self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl Default for CodecSpecificConfigLTV
impl Default for CodecSpecificConfigLTV
Source§fn default() -> CodecSpecificConfigLTV
fn default() -> CodecSpecificConfigLTV
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodecSpecificConfigLTV
impl RefUnwindSafe for CodecSpecificConfigLTV
impl Send for CodecSpecificConfigLTV
impl Sync for CodecSpecificConfigLTV
impl Unpin for CodecSpecificConfigLTV
impl UnwindSafe for CodecSpecificConfigLTV
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