Browse Source

cargo fmt

pull/83/head
Andrea Ciliberti 2 years ago
parent
commit
795686d6d8
  1. 10
      ctru-rs/examples/audio-filters.rs

10
ctru-rs/examples/audio-filters.rs

@ -90,7 +90,10 @@ fn main() { @@ -90,7 +90,10 @@ fn main() {
println!("\x1b[1;1HPress up/down to change tone frequency");
println!("\x1b[2;1HPress left/right to change filter");
println!("\x1b[4;1Hnote = {} Hz ", NOTEFREQ[note]);
println!("\x1b[5;1Hfilter = {} ", filter_names[filter as usize]);
println!(
"\x1b[5;1Hfilter = {} ",
filter_names[filter as usize]
);
let mut altern = true; // true is wave_info1, false is wave_info2
@ -122,7 +125,10 @@ fn main() { @@ -122,7 +125,10 @@ fn main() {
}
println!("\x1b[4;1Hnote = {} Hz ", NOTEFREQ[note]);
println!("\x1b[5;1Hfilter = {} ", filter_names[filter as usize]);
println!(
"\x1b[5;1Hfilter = {} ",
filter_names[filter as usize]
);
if update_params {
match filter {

Loading…
Cancel
Save