pub struct DspProfile {Show 17 fields
pub profile: String,
pub fir_taps: i64,
pub fir_budget: i64,
pub iir_bands: i64,
pub support_mode: String,
pub support_taps: i64,
pub allpass_bands: i64,
pub bm_path_delays: i64,
pub bm_path_polarity: bool,
pub bm_path_allpass: i64,
pub path_peq_bands: i64,
pub path_allpass_bands: i64,
pub per_output_lp: bool,
pub fir_taps_max: i64,
pub fir_taps_auto: Option<bool>,
pub support_taps_auto: Option<bool>,
pub name: String,
}Fields§
§profile: String§fir_taps: i64§fir_budget: i64§iir_bands: i64§support_mode: String§support_taps: i64§allpass_bands: i64§bm_path_delays: i64§bm_path_polarity: bool§bm_path_allpass: i64§path_peq_bands: i64§path_allpass_bands: i64§per_output_lp: bool§fir_taps_max: i64§fir_taps_auto: Option<bool>§support_taps_auto: Option<bool>§name: StringImplementations§
Source§impl DspProfile
impl DspProfile
pub fn presets() -> BTreeMap<&'static str, Self>
pub fn allocate_taps( &self, config: &SpeakerConfig, phase: &str, path_count: i64, min_taps: i64, ) -> (i64, i64)
pub fn to_json(&self) -> PyJson
pub fn from_json(value: PyJson) -> Result<Self, ProjectError>
pub fn fir_used( &self, config: &SpeakerConfig, phase: &str, path_count: i64, ) -> BTreeMap<&'static str, i64>
Trait Implementations§
Source§impl Clone for DspProfile
impl Clone for DspProfile
Source§impl Debug for DspProfile
impl Debug for DspProfile
Source§impl Default for DspProfile
impl Default for DspProfile
Source§impl PartialEq for DspProfile
impl PartialEq for DspProfile
impl StructuralPartialEq for DspProfile
Auto Trait Implementations§
impl Freeze for DspProfile
impl RefUnwindSafe for DspProfile
impl Send for DspProfile
impl Sync for DspProfile
impl Unpin for DspProfile
impl UnsafeUnpin for DspProfile
impl UnwindSafe for DspProfile
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