Update mod.rs

This commit is contained in:
兰陈昕 2024-04-13 23:15:41 +08:00 committed by GitHub
parent 818f557466
commit 85c35c317c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -423,7 +423,9 @@ impl SeekError {
pub fn source_intact(&self) -> bool { pub fn source_intact(&self) -> bool {
match self { match self {
SeekError::NotSupported { .. } => true, SeekError::NotSupported { .. } => true,
#[cfg(feature = "symphonia")]
SeekError::SymphoniaDecoder(_) => false, SeekError::SymphoniaDecoder(_) => false,
#[cfg(feature = "wav")]
SeekError::HoundDecoder(_) => false, SeekError::HoundDecoder(_) => false,
SeekError::Other(_) => false, SeekError::Other(_) => false,
} }