mirror of
https://github.com/RustAudio/rodio
synced 2024-12-13 13:42:34 +00:00
Update mod.rs
This commit is contained in:
parent
818f557466
commit
85c35c317c
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