pub enum ChannelType {
Mono,
Stereo,
ThreeChannels,
Quad,
FourChannels,
FiveChannels,
FivePointOneChannels,
}Expand description
The different channel formats possible for a DSF file.
The channel specification is as follows:
| Channel Index | ||||||
|---|---|---|---|---|---|---|
| Channel Type | 0 | 1 | 2 | 3 | 4 | 5 |
| Mono | Center | |||||
| Stereo | Front Left | Front Right | ||||
| 3-Channels | Front Left | Front Right | Center | |||
| Quad | Front Left | Front Right | Back Left | Back Right | ||
| 4-Channels | Front Left | Front Right | Center | Low Frequency | ||
| 5-Channels | Front Left | Front Right | Center | Back Left | Back Right | |
| 5.1-Channels | Front Left | Front Right | Center | Low Frequency | Back Left | Back Right |
Variants§
Trait Implementations§
Source§impl Debug for ChannelType
impl Debug for ChannelType
Source§impl Display for ChannelType
impl Display for ChannelType
Source§impl PartialEq for ChannelType
impl PartialEq for ChannelType
Source§impl TryFrom<u32> for ChannelType
impl TryFrom<u32> for ChannelType
impl Eq for ChannelType
impl StructuralPartialEq for ChannelType
Auto Trait Implementations§
impl Freeze for ChannelType
impl RefUnwindSafe for ChannelType
impl Send for ChannelType
impl Sync for ChannelType
impl Unpin for ChannelType
impl UnwindSafe for ChannelType
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