mirror of
https://github.com/iluvcapra/bwavfile.git
synced 2026-01-01 09:20:45 +00:00
Channel descriptor implementation
This commit is contained in:
@@ -23,16 +23,16 @@ pub struct ADMAudioID {
|
||||
/// Describes a single channel in a WAV file.
|
||||
pub struct ChannelDescriptor {
|
||||
/// Index, the offset of this channel's samples in one frame.
|
||||
index: u16,
|
||||
pub index: u16,
|
||||
|
||||
/// Channel assignment
|
||||
///
|
||||
/// This is either implied (in the case of mono or stereo wave files) or
|
||||
/// explicitly given in `WaveFormatExtentended` for files with more tracks.
|
||||
speaker: ChannelMask,
|
||||
pub speaker: ChannelMask,
|
||||
|
||||
/// ADM audioTrackUIDs
|
||||
adm_track_audio_ids: Vec<ADMAudioID>,
|
||||
pub adm_track_audio_ids: Vec<ADMAudioID>,
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user