#[repr(transparent)]pub struct AUSpatializationAlgorithm(pub u32);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: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_SphericalHead: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_HRTF: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_SoundField: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_VectorBasedPanning: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_StereoPassThrough: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_HRTFHQ: AUSpatializationAlgorithm
pub const SpatializationAlgorithm_UseOutputType: AUSpatializationAlgorithm
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AUSpatializationAlgorithm
Source§impl Debug for AUSpatializationAlgorithm
impl Debug for AUSpatializationAlgorithm
Source§impl Encode for AUSpatializationAlgorithm
impl Encode for AUSpatializationAlgorithm
impl Eq 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 (const: unstable) · 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 PartialEq for AUSpatializationAlgorithm
impl PartialEq for AUSpatializationAlgorithm
Source§fn eq(&self, other: &AUSpatializationAlgorithm) -> bool
fn eq(&self, other: &AUSpatializationAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.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 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 UnsafeUnpin for AUSpatializationAlgorithm
impl UnwindSafe for AUSpatializationAlgorithm
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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.