Browse Source

Sort ndsp module in 2 files

pull/83/head
Andrea Ciliberti 2 years ago
parent
commit
9bd5e7de97
  1. 2
      ctru-rs/examples/audio_filters.rs

2
ctru-rs/examples/audio_filters.rs

@ -43,7 +43,7 @@ fn main() {
[0u8; AUDIO_WAVE_LENGTH], [0u8; AUDIO_WAVE_LENGTH],
LinearAllocator, LinearAllocator,
); );
fill_buffer(&mut audioBuffer[..], NOTEFREQ[4]); fill_buffer(&mut audioBuffer, NOTEFREQ[4]);
let audioBuffer1 = let audioBuffer1 =
WaveBuffer::new(audioBuffer, AudioFormat::PCM16Stereo).expect("Couldn't sync DSP cache"); WaveBuffer::new(audioBuffer, AudioFormat::PCM16Stereo).expect("Couldn't sync DSP cache");

Loading…
Cancel
Save