#[repr(C)]pub struct OverallGain {
pub linear_gain: c_float,
pub linear_gain_additive: c_float,
}
Expand description
Overall gain parameter data structure.
This parameter is read by the system to determine the effect’s gain for voice virtualization.
Fields§
§linear_gain: c_float
Overall linear gain of the effect on the direct signal path.
linear_gain_additive: c_float
Additive gain for parallel signal paths.
Trait Implementations§
Source§impl Clone for OverallGain
impl Clone for OverallGain
Source§fn clone(&self) -> OverallGain
fn clone(&self) -> OverallGain
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 OverallGain
impl Debug for OverallGain
Source§impl PartialEq for OverallGain
impl PartialEq for OverallGain
Source§impl ReadableParameter for OverallGain
impl ReadableParameter for OverallGain
Source§fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
fn get_parameter_string(dsp: Dsp, index: c_int) -> Result<Utf8CString>
Get the parameter string at
index
.impl Copy for OverallGain
impl StructuralPartialEq for OverallGain
Auto Trait Implementations§
impl Freeze for OverallGain
impl RefUnwindSafe for OverallGain
impl Send for OverallGain
impl Sync for OverallGain
impl Unpin for OverallGain
impl UnwindSafe for OverallGain
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