Struct alto::LoopbackAttrs
[−]
[src]
pub struct LoopbackAttrs { pub mono_sources: Option<ALCint>, pub stereo_sources: Option<ALCint>, pub soft_hrtf: Option<bool>, pub soft_hrtf_id: Option<ALCint>, pub max_auxiliary_sends: Option<ALCint>, }
Attributes that may be supplied during context creation from a loopback device.
Requires ALC_SOFT_loopback
Fields
mono_sources: Option<ALCint>
ALC_MONO_SOURCES
stereo_sources: Option<ALCint>
ALC_STEREO_SOURCES
soft_hrtf: Option<bool>
ALC_HRTF_SOFT
Requires ALC_SOFT_HRTF
soft_hrtf_id: Option<ALCint>
ALC_HRTF_ID_SOFT
Requires ALC_SOFT_HRTF
max_auxiliary_sends: Option<ALCint>
ALC_MAX_AUXILIARY_SENDS
Requires ALC_EXT_EFX
Trait Implementations
impl Copy for LoopbackAttrs
[src]
impl Clone for LoopbackAttrs
[src]
fn clone(&self) -> LoopbackAttrs
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 LoopbackAttrs
[src]
fn eq(&self, __arg_0: &LoopbackAttrs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LoopbackAttrs) -> bool
This method tests for !=
.
impl Eq for LoopbackAttrs
[src]
impl Hash for LoopbackAttrs
[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.
impl Default for LoopbackAttrs
[src]
fn default() -> LoopbackAttrs
Returns the "default value" for a type. Read more