Skip to content

Potential Regression: try_seek Panicking When Seeking Backwards #740

@UnknownSuperficialNight

Description

Switching from rodio 0.20.1 to the main branch (with symphonia-all enabled), I encountered an issue where try_seek produces a SymphoniaDecoder(BaseSeek(SeekError(ForwardOnly))) error when attempting to seek backwards. This behavior was not present in rodio 0.20.1. I've tested with multiple file formats (flac, m4a, and mp3), all of which produce the same error when seeking to a previous time.

Additional Testing: When using music.ogg from the assets folder, the try_seek function does not seek to the specified position. Instead, it appears to seek to a slightly earlier position and then continues playback as if the seek was relative.

Reproduction Build

rodio_seek_err.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions