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 soft_output_limiter: Option<bool>,
pub max_aux_sends: Option<ALCint>,
}
Expand description
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
soft_output_limiter: Option<bool>
ALC_OUTPUT_LIMITER_SOFT
Requires ALC_SOFT_output_limiter
max_aux_sends: Option<ALCint>
ALC_MAX_AUXILIARY_SENDS
Requires ALC_EXT_EFX
Trait Implementations§
Source§impl Clone for LoopbackAttrs
impl Clone for LoopbackAttrs
Source§fn clone(&self) -> LoopbackAttrs
fn clone(&self) -> LoopbackAttrs
Returns a copy 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 moreSource§impl Debug for LoopbackAttrs
impl Debug for LoopbackAttrs
Source§impl Default for LoopbackAttrs
impl Default for LoopbackAttrs
Source§fn default() -> LoopbackAttrs
fn default() -> LoopbackAttrs
Returns the “default value” for a type. Read more
Source§impl Hash for LoopbackAttrs
impl Hash for LoopbackAttrs
Source§impl PartialEq for LoopbackAttrs
impl PartialEq for LoopbackAttrs
impl Copy for LoopbackAttrs
impl Eq for LoopbackAttrs
impl StructuralPartialEq for LoopbackAttrs
Auto Trait Implementations§
impl Freeze for LoopbackAttrs
impl RefUnwindSafe for LoopbackAttrs
impl Send for LoopbackAttrs
impl Sync for LoopbackAttrs
impl Unpin for LoopbackAttrs
impl UnwindSafe for LoopbackAttrs
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)