pub struct Chmap {
pub mode: ChmapMode,
pub entries: Vec<ChmapEntry>,
}Expand description
The data to express channel map of PCM substream in TLV (Type-Length-Value) of ALSA control interface.
It has three variants below;
SNDRV_CTL_TLVT_CHMAP_FIXED(=0x101)SNDRV_CTL_TLVT_CHMAP_VAR(=0x102)SNDRV_CTL_TLVT_CHMAP_PAIRED(=0x103)
The length of value field is variable depending on the number of channels.
Fields§
§mode: ChmapModeThe mode of map.
entries: Vec<ChmapEntry>The entries of map corresponding to each channel.
Trait Implementations§
impl Eq for Chmap
impl StructuralPartialEq for Chmap
Auto Trait Implementations§
impl Freeze for Chmap
impl RefUnwindSafe for Chmap
impl Send for Chmap
impl Sync for Chmap
impl Unpin for Chmap
impl UnsafeUnpin for Chmap
impl UnwindSafe for Chmap
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