Struct alac::StreamInfo
[−]
[src]
pub struct StreamInfo { /* fields omitted */ }
Codec initialisation parameters for an ALAC stream.
Methods
impl StreamInfo
[src]
[src]
Creates a StreamInfo
from a magic cookie. This is often stored in the header of a
container format.
fn from_sdp_format_parameters(params: &str) -> Result<StreamInfo, InvalidData>
[src]
Creates a StreamInfo
from SDP format specific parameters, i.e. the fmtp
attribute.
fn sample_rate(&self) -> u32
[src]
fn bit_depth(&self) -> u8
[src]
fn channels(&self) -> u8
[src]
fn max_frames_per_packet(&self) -> u32
[src]
fn max_samples_per_packet(&self) -> u32
[src]
Trait Implementations
impl Clone for StreamInfo
[src]
fn clone(&self) -> StreamInfo
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for StreamInfo
[src]
impl Eq for StreamInfo
[src]
impl PartialEq for StreamInfo
[src]
fn eq(&self, __arg_0: &StreamInfo) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &StreamInfo) -> bool
[src]
This method tests for !=
.