mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 21:52:38 +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 {
|
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,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue