#[repr(transparent)]pub struct AUSpatializationAlgorithm(pub u32);Available on crate feature
AudioUnitProperties only.Expand description
Use kSpatializationAlgorithm_UseOutputType with appropriate kAudioUnitProperty_SpatialMixerOutputType for highest-quality spatial rendering across different hardware.
See also Apple’s documentation
Tuple Fields§
§0: u32Implementations§
Source§impl AUSpatializationAlgorithm
impl AUSpatializationAlgorithm
pub const SpatializationAlgorithm_EqualPowerPanning: Self
pub const SpatializationAlgorithm_SphericalHead: Self
pub const SpatializationAlgorithm_HRTF: Self
pub const SpatializationAlgorithm_SoundField: Self
pub const SpatializationAlgorithm_VectorBasedPanning: Self
pub const SpatializationAlgorithm_StereoPassThrough: Self
pub const SpatializationAlgorithm_HRTFHQ: Self
pub const SpatializationAlgorithm_UseOutputType: Self
Trait Implementations§
Source§impl Clone for AUSpatializationAlgorithm
impl Clone for AUSpatializationAlgorithm
Source§fn clone(&self) -> AUSpatializationAlgorithm
fn clone(&self) -> AUSpatializationAlgorithm
Returns a duplicate 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 AUSpatializationAlgorithm
impl Debug for AUSpatializationAlgorithm
Source§impl Encode for AUSpatializationAlgorithm
impl Encode for AUSpatializationAlgorithm
Source§impl Hash for AUSpatializationAlgorithm
impl Hash for AUSpatializationAlgorithm
Source§impl Ord for AUSpatializationAlgorithm
impl Ord for AUSpatializationAlgorithm
Source§fn cmp(&self, other: &AUSpatializationAlgorithm) -> Ordering
fn cmp(&self, other: &AUSpatializationAlgorithm) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for AUSpatializationAlgorithm
impl PartialOrd for AUSpatializationAlgorithm
Source§impl RefEncode for AUSpatializationAlgorithm
impl RefEncode for AUSpatializationAlgorithm
Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for AUSpatializationAlgorithm
impl Eq for AUSpatializationAlgorithm
impl StructuralPartialEq for AUSpatializationAlgorithm
Auto Trait Implementations§
impl Freeze for AUSpatializationAlgorithm
impl RefUnwindSafe for AUSpatializationAlgorithm
impl Send for AUSpatializationAlgorithm
impl Sync for AUSpatializationAlgorithm
impl Unpin for AUSpatializationAlgorithm
impl UnwindSafe for AUSpatializationAlgorithm
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§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.