pub struct AudioStreamInfo {
pub stream_number: u8,
pub format_tag: u16,
pub channels: u16,
pub sample_rate: u32,
pub bit_rate: u32,
pub block_align: u16,
pub bits_per_sample: u16,
pub extra_data: Vec<u8>,
pub ds_span: u8,
pub ds_packet_size: u16,
pub ds_chunk_size: u16,
}Fields§
§stream_number: u8§format_tag: u16§channels: u16§sample_rate: u32§bit_rate: u32§block_align: u16§bits_per_sample: u16§extra_data: Vec<u8>§ds_span: u8ASF audio descrambling (interleaving) parameters (upstream: ds_span/ds_packet_size/ds_chunk_size). span==0 or 1 means descrambling disabled.
ds_packet_size: u16§ds_chunk_size: u16Trait Implementations§
Source§impl Clone for AudioStreamInfo
impl Clone for AudioStreamInfo
Source§fn clone(&self) -> AudioStreamInfo
fn clone(&self) -> AudioStreamInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AudioStreamInfo
impl RefUnwindSafe for AudioStreamInfo
impl Send for AudioStreamInfo
impl Sync for AudioStreamInfo
impl Unpin for AudioStreamInfo
impl UnwindSafe for AudioStreamInfo
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