From 9bd5e7de977b375b79a55479f8cbd8642ff1824f Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Mon, 2 Jan 2023 17:44:59 +0100 Subject: [PATCH] Sort ndsp module in 2 files --- ctru-rs/examples/audio_filters.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctru-rs/examples/audio_filters.rs b/ctru-rs/examples/audio_filters.rs index c0602a0..c42e1af 100644 --- a/ctru-rs/examples/audio_filters.rs +++ b/ctru-rs/examples/audio_filters.rs @@ -43,7 +43,7 @@ fn main() { [0u8; AUDIO_WAVE_LENGTH], LinearAllocator, ); - fill_buffer(&mut audioBuffer[..], NOTEFREQ[4]); + fill_buffer(&mut audioBuffer, NOTEFREQ[4]); let audioBuffer1 = WaveBuffer::new(audioBuffer, AudioFormat::PCM16Stereo).expect("Couldn't sync DSP cache");