pub struct HostAudioConfig {
pub channels: u16,
pub min_sample_rate: u32,
pub max_sample_rate: u32,
pub format: HostSampleFormat,
}Expand description
Platform-neutral device range used by negotiation tests and cpal mapping.
Fields§
§channels: u16Channel count.
min_sample_rate: u32Lowest supported sample rate.
max_sample_rate: u32Highest supported sample rate.
format: HostSampleFormatDevice sample representation.
Trait Implementations§
Source§impl Clone for HostAudioConfig
impl Clone for HostAudioConfig
impl Copy for HostAudioConfig
Source§impl Debug for HostAudioConfig
impl Debug for HostAudioConfig
impl Eq for HostAudioConfig
Source§impl PartialEq for HostAudioConfig
impl PartialEq for HostAudioConfig
impl StructuralPartialEq for HostAudioConfig
Auto Trait Implementations§
impl Freeze for HostAudioConfig
impl RefUnwindSafe for HostAudioConfig
impl Send for HostAudioConfig
impl Sync for HostAudioConfig
impl Unpin for HostAudioConfig
impl UnsafeUnpin for HostAudioConfig
impl UnwindSafe for HostAudioConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.