Struct alto::SoftHints
[−]
[src]
pub struct SoftHints { pub period_size: Option<u16>, pub periods: Option<u8>, pub stereo_mode: Option<SoftStereoMode>, pub cf_level: Option<SoftStereoCrossfeedLevel>, pub resampler: Option<SoftResampler>, pub rt_prio: Option<bool>, }
Configuration hints for OpenAL-Soft.
Fields
period_size: Option<u16>
Size in sample frames of an output update period [64-8192].
periods: Option<u8>
Number of periods in output ring buffer [2-16].
stereo_mode: Option<SoftStereoMode>
Speakers or headphones.
cf_level: Option<SoftStereoCrossfeedLevel>
Separation of stereo channels.
resampler: Option<SoftResampler>
Resampler algorithm used in the internal mixer.
rt_prio: Option<bool>
Realtime priority for the mixer thread.
Trait Implementations
impl Copy for SoftHints
[src]
impl Clone for SoftHints
[src]
fn clone(&self) -> SoftHints
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for SoftHints
[src]
fn eq(&self, __arg_0: &SoftHints) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &SoftHints) -> bool
This method tests for !=
.
impl Eq for SoftHints
[src]
impl Hash for SoftHints
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.