Struct goxlr_profile_loader::components::megaphone::MegaphoneEffect
source · [−]pub struct MegaphoneEffect { /* private fields */ }
Expand description
Couple of interesting points, firstly, the UI only has 3 options with regards to the megaphone configuration, Style, ‘Amount’, and ‘Post Gain’, yet these three options ultimately translate into MANY different settings, so some investigation as to how and why these map will be necessary. I’m currently assuming that each ‘style’ is backed by several values, but still need to work out the mapping.
Implementations
sourceimpl MegaphoneEffect
impl MegaphoneEffect
pub fn new() -> Self
pub fn state(&self) -> bool
pub fn set_state(&mut self, state: bool)
pub fn style(&self) -> &MegaphoneStyle
pub fn trans_dist_amt(&self) -> u8
pub fn trans_hp(&self) -> u8
pub fn trans_lp(&self) -> u8
pub fn trans_pregain(&self) -> u8
pub fn trans_postgain(&self) -> i8
pub fn trans_dist_type(&self) -> u8
pub fn trans_presence_gain(&self) -> u8
pub fn trans_presence_fc(&self) -> u8
pub fn trans_presence_bw(&self) -> u8
pub fn trans_beatbox_enabled(&self) -> bool
pub fn trans_filter_control(&self) -> u8
pub fn trans_filter(&self) -> u8
pub fn trans_drive_pot_gain_comp_mid(&self) -> u8
pub fn trans_drive_pot_gain_comp_max(&self) -> u8
Trait Implementations
sourceimpl Debug for MegaphoneEffect
impl Debug for MegaphoneEffect
sourceimpl Default for MegaphoneEffect
impl Default for MegaphoneEffect
sourcefn default() -> MegaphoneEffect
fn default() -> MegaphoneEffect
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for MegaphoneEffect
impl Send for MegaphoneEffect
impl Sync for MegaphoneEffect
impl Unpin for MegaphoneEffect
impl UnwindSafe for MegaphoneEffect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more