#[repr(C)]pub struct AudioUnitFrequencyResponseBin {
pub mFrequency: f64,
pub mMagnitude: f64,
}
Available on crate feature
AudioUnitProperties
only.Expand description
Structure used to get the magnitude of the frequency response at a particular frequency via kAudioUnitProperty_FrequencyResponse.
An array of AudioUnitFrequencyResponseBin are passed in to kAudioUnitProperty_FrequencyResponse with the mFrequency field filled in. The array is returned with the mMagnitude fields filled in. If fewer than kNumberOfResponseFrequencies are needed, then the first unused bin should be marked with a negative frequency.
See also Apple’s documentation
Fields§
§mFrequency: f64
§mMagnitude: f64
Trait Implementations§
Source§impl Clone for AudioUnitFrequencyResponseBin
impl Clone for AudioUnitFrequencyResponseBin
Source§fn clone(&self) -> AudioUnitFrequencyResponseBin
fn clone(&self) -> AudioUnitFrequencyResponseBin
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 PartialEq for AudioUnitFrequencyResponseBin
impl PartialEq for AudioUnitFrequencyResponseBin
Source§fn eq(&self, other: &AudioUnitFrequencyResponseBin) -> bool
fn eq(&self, other: &AudioUnitFrequencyResponseBin) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl RefEncode for AudioUnitFrequencyResponseBin
impl RefEncode for AudioUnitFrequencyResponseBin
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 AudioUnitFrequencyResponseBin
impl StructuralPartialEq for AudioUnitFrequencyResponseBin
Auto Trait Implementations§
impl Freeze for AudioUnitFrequencyResponseBin
impl RefUnwindSafe for AudioUnitFrequencyResponseBin
impl Send for AudioUnitFrequencyResponseBin
impl Sync for AudioUnitFrequencyResponseBin
impl Unpin for AudioUnitFrequencyResponseBin
impl UnwindSafe for AudioUnitFrequencyResponseBin
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.