pub struct UnitTimeEffect(/* private fields */);Implementations§
Source§impl TimeEffect
Unit that processes audio in non real-time
impl TimeEffect
Unit that processes audio in non real-time
An TimeEffect represents an audio unit of type aufc.
These effects do not process audio in real-time. The varispeed
unit is an example of a time effect unit.
AVAudioUnitTimeEffect
Methods from Deref<Target = Node>§
pub fn retained(&self) -> R<Self>
pub fn reset(&self)
pub fn input_format_for_bus_ar(&self, bus: AudioNodeBus) -> Rar<AudioFormat>
pub fn input_format_for_bus(&self, bus: AudioNodeBus) -> R<AudioFormat>
pub fn output_format_for_bus_ar(&self, bus: AudioNodeBus) -> Rar<AudioFormat>
pub fn output_format_for_bus(&self, bus: AudioNodeBus) -> R<AudioFormat>
Sourcepub fn name_for_input_bus_ar(&self, bus: AudioNodeBus) -> Option<Rar<String>>
pub fn name_for_input_bus_ar(&self, bus: AudioNodeBus) -> Option<Rar<String>>
Gets the name of the input bus you specify.
Sourcepub fn name_for_input_bus(&self, bus: AudioNodeBus) -> Option<R<String>>
pub fn name_for_input_bus(&self, bus: AudioNodeBus) -> Option<R<String>>
Gets the name of the input bus you specify.
pub fn engine_ar(&self) -> Option<Rar<Engine>>
pub fn engine(&self) -> Option<R<Engine>>
Sourcepub fn number_of_inputs(&self) -> usize
pub fn number_of_inputs(&self) -> usize
The node’s number of input busses.
Sourcepub fn number_of_outputs(&self) -> usize
pub fn number_of_outputs(&self) -> usize
The node’s number of output busses.
Sourcepub fn last_render_time(&self) -> Option<AudioTime>
pub fn last_render_time(&self) -> Option<AudioTime>
Obtain the time for which the node most recently rendered.
Will return None if the engine is not running or if the node is not connected to an input or output node.
pub fn audio_unit_ar(&self) -> Rar<AudioUnit>
pub fn audio_unit(&self) -> R<AudioUnit>
Sourcepub fn latency(&self) -> TimeInterval
pub fn latency(&self) -> TimeInterval
The processing latency of the node, in seconds.
This property reflects the delay between when an impulse in the audio stream arrives at the input vs. output of the node. This should reflect the delay due to signal processing (e.g. filters, FFT’s, etc.), not delay or reverberation which is being applied as an effect. A value of zero indicates either no latency or an unknown latency.
Sourcepub fn output_presentation_latency(&self) -> TimeInterval
pub fn output_presentation_latency(&self) -> TimeInterval
The maximum render pipeline latency downstream of the node, in seconds.
Sourcepub unsafe fn install_tap_on_bus_block_throws(
&mut self,
bus: AudioNodeBus,
buffer_size: AudioFrameCount,
format: Option<&AudioFormat>,
tap_block: &mut Block<fn(&AudioPcmBuf, &AudioTime), Esc>,
)
pub unsafe fn install_tap_on_bus_block_throws( &mut self, bus: AudioNodeBus, buffer_size: AudioFrameCount, format: Option<&AudioFormat>, tap_block: &mut Block<fn(&AudioPcmBuf, &AudioTime), Esc>, )
NOTE: remove_tap_on_bus if you have already installed tap
pub unsafe fn install_tap_on_bus_throws( &mut self, bus: AudioNodeBus, buffer_size: AudioFrameCount, format: Option<&AudioFormat>, tap_block: impl FnMut(&AudioPcmBuf, &AudioTime) + 'static, )
pub fn install_tap_on_bus<'ear>( &mut self, bus: AudioNodeBus, buffer_size: AudioFrameCount, format: Option<&AudioFormat>, tap_block: impl FnMut(&AudioPcmBuf, &AudioTime) + 'static, ) -> ExResult<'ear>
pub unsafe fn remove_tap_on_bus_throws(&mut self, bus: AudioNodeBus)
pub fn remove_tap_on_bus<'ear>(&mut self, bus: AudioNodeBus) -> ExResult<'ear>
Methods from Deref<Target = Id>§
pub unsafe fn value_for_key_throws_ar(&self, key: &String) -> Option<Rar<Self>>
pub unsafe fn value_for_key_throws(&self, key: &String) -> Option<R<Self>>
pub fn value_for_key<'ear>( &self, key: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_throws( &mut self, val: Option<&Self>, key: &String, )
pub fn set_value_for_key<'ear>( &mut self, val: Option<&Self>, key: &String, ) -> ExResult<'ear>
pub unsafe fn value_for_key_path_throws_ar( &self, key_path: &String, ) -> Option<Rar<Self>>
pub unsafe fn value_for_key_path_throws( &self, key_path: &String, ) -> Option<R<Self>>
pub fn value_for_key_path<'ear>( &self, key_path: &String, ) -> ExResult<'ear, Option<R<Self>>>
pub unsafe fn set_value_for_key_path_throws( &mut self, val: Option<&Self>, key_path: &String, )
pub fn set_value_for_key_path<'ear>( &mut self, val: Option<&Self>, key_path: &String, ) -> ExResult<'ear>
pub fn as_type_ref(&self) -> &Type
pub fn as_id_ref(&self) -> &Self
pub fn is_equal(&self, other: &Self) -> bool
pub fn hash(&self) -> UInteger
pub fn as_ptr(&self) -> *const Self
Trait Implementations§
Source§impl AsRef<Id> for TimeEffect
impl AsRef<Id> for TimeEffect
Source§impl Debug for TimeEffect
impl Debug for TimeEffect
Source§impl Deref for TimeEffect
impl Deref for TimeEffect
Source§impl DerefMut for TimeEffect
impl DerefMut for TimeEffect
Source§impl Obj for TimeEffect
impl Obj for TimeEffect
unsafe fn retain(id: &Self) -> R<Self>
unsafe fn release(id: &mut Self)
fn desc_ar(&self) -> Rar<String>
fn desc(&self) -> R<String>
fn debug_desc_ar(&self) -> Rar<String>
fn debug_desc(&self) -> R<String>
fn responds_to_sel(&self, sel: &Sel) -> bool
fn class(&self) -> &Class<Self>
fn is_kind_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn try_cast<T: Obj>(&self, cls: &Class<T>) -> Option<&T>
fn try_cast_mut<T: Obj>(&mut self, cls: &Class<T>) -> Option<&mut T>
fn is_member_of_class<T: Obj>(&self, cls: &Class<T>) -> bool
fn is_tagged_ptr(&self) -> bool
fn as_id_ref(&self) -> &Id
Source§impl PartialEq for TimeEffect
impl PartialEq for TimeEffect
Source§fn eq(&self, other: &TimeEffect) -> bool
fn eq(&self, other: &TimeEffect) -> bool
self and other values to be equal, and is used by ==.