From f69a8bfba72462c7e0a240a39e464478d00ed88f Mon Sep 17 00:00:00 2001 From: "Ando \"Thor\" Nando" Date: Sun, 21 Apr 2024 11:41:17 +1000 Subject: [PATCH] clean match arm --- src/source/uniform.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source/uniform.rs b/src/source/uniform.rs index 67bdc097..7ea34884 100644 --- a/src/source/uniform.rs +++ b/src/source/uniform.rs @@ -61,7 +61,7 @@ where let frame_len = input.current_frame_len().map(|x| x.min(32768)); let from_channels = match input.channels() { - n if n == 0 => target_channels, + 0 => target_channels, n => n, }; let from_sample_rate = input.sample_rate();