#[repr(C)]pub struct AudioUnitParameter {
pub mAudioUnit: AudioUnit,
pub mParameterID: AudioUnitParameterID,
pub mScope: AudioUnitScope,
pub mElement: AudioUnitElement,
}
Available on crate features
AUComponent
and AudioComponent
only.Expand description
An audio unit parameter is defined by the triplet of audio unit scope, element and parameterID. This struct is used with the functions in AudioUnitUtilities.h to deal with audio unit parameters, but is included in this header file for completeness.
The audio unit instance to which the specified parameter applies.
The parameterID for the parameter
The scope for the parameter
The element for the parameter
See also Apple’s documentation
Fields§
§mAudioUnit: AudioUnit
§mParameterID: AudioUnitParameterID
§mScope: AudioUnitScope
§mElement: AudioUnitElement
Trait Implementations§
Source§impl Clone for AudioUnitParameter
impl Clone for AudioUnitParameter
Source§fn clone(&self) -> AudioUnitParameter
fn clone(&self) -> AudioUnitParameter
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 AudioUnitParameter
impl Debug for AudioUnitParameter
Source§impl Encode for AudioUnitParameter
impl Encode for AudioUnitParameter
Source§impl PartialEq for AudioUnitParameter
impl PartialEq for AudioUnitParameter
Source§impl RefEncode for AudioUnitParameter
impl RefEncode for AudioUnitParameter
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 AudioUnitParameter
impl StructuralPartialEq for AudioUnitParameter
Auto Trait Implementations§
impl Freeze for AudioUnitParameter
impl !RefUnwindSafe for AudioUnitParameter
impl !Send for AudioUnitParameter
impl !Sync for AudioUnitParameter
impl Unpin for AudioUnitParameter
impl !UnwindSafe for AudioUnitParameter
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.