Browse Source

Fmt

pull/83/head
Andrea Ciliberti 2 years ago
parent
commit
2b4fbfd6b2
  1. 11
      ctru-rs/src/services/ndsp/mod.rs

11
ctru-rs/src/services/ndsp/mod.rs

@ -173,9 +173,7 @@ impl Channel { @@ -173,9 +173,7 @@ impl Channel {
}
pub fn iir_biquad_set_params_high_pass_filter(&self, cut_off_freq: f32, quality: f32) {
unsafe {
ctru_sys::ndspChnIirBiquadSetParamsHighPassFilter(self.0, cut_off_freq, quality)
};
unsafe { ctru_sys::ndspChnIirBiquadSetParamsHighPassFilter(self.0, cut_off_freq, quality) };
}
pub fn iir_biquad_set_params_low_pass_filter(&self, cut_off_freq: f32, quality: f32) {
@ -197,12 +195,7 @@ impl Channel { @@ -197,12 +195,7 @@ impl Channel {
gain: f32,
) {
unsafe {
ctru_sys::ndspChnIirBiquadSetParamsPeakingEqualizer(
self.0,
central_freq,
quality,
gain,
)
ctru_sys::ndspChnIirBiquadSetParamsPeakingEqualizer(self.0, central_freq, quality, gain)
};
}
}

Loading…
Cancel
Save