mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 13:42:34 +00:00
Merge pull request #568 from YXL76/patch-1
fix: no variant found for `source::SeekError`
This commit is contained in:
commit
cefb123311
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue