From 85c35c317c336307917d4d03577caa7559598f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B0=E9=99=88=E6=98=95?= <43405544+YXL76@users.noreply.github.com> Date: Sat, 13 Apr 2024 23:15:41 +0800 Subject: [PATCH] Update mod.rs --- src/source/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/source/mod.rs b/src/source/mod.rs index bec9a72..789f169 100644 --- a/src/source/mod.rs +++ b/src/source/mod.rs @@ -423,7 +423,9 @@ impl SeekError { pub fn source_intact(&self) -> bool { match self { SeekError::NotSupported { .. } => true, + #[cfg(feature = "symphonia")] SeekError::SymphoniaDecoder(_) => false, + #[cfg(feature = "wav")] SeekError::HoundDecoder(_) => false, SeekError::Other(_) => false, }