Enum web_audio_api::AutomationRate
source · pub enum AutomationRate {
A,
K,
}
Expand description
Precision of AudioParam value calculation per render quantum
Variants§
A
Audio Rate - sampled for each sample-frame of the block
K
Control Rate - sampled at the time of the very first sample-frame, then used for the entire block
Trait Implementations§
source§impl Clone for AutomationRate
impl Clone for AutomationRate
source§fn clone(&self) -> AutomationRate
fn clone(&self) -> AutomationRate
Returns a copy 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 AutomationRate
impl Debug for AutomationRate
source§impl PartialEq<AutomationRate> for AutomationRate
impl PartialEq<AutomationRate> for AutomationRate
source§fn eq(&self, other: &AutomationRate) -> bool
fn eq(&self, other: &AutomationRate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.