Skip to content

Sample accurate decoding from a generated FLAC seekpoint possible? #121

@gabrielwolf

Description

@gabrielwolf

Thank you for your excellent work in making FLAC more accessible in WASM.

My question: If the decoder only has bytes to work with starting from the given byte offset of the respective seekpoint in the SEEKTABLE, is it guaranteed that the decoded PCM output will be starting sample accurately?

Frame size is fixed to 1024 during encoding with flac. Seekpoints are added via metaflac --dont-use-padding --add-seekpoint=2530x

Thank you for any insights...
I am trying to wrap my head around this for about 2 months now. :-)

Ps: Asked the question also on SO
https://stackoverflow.com/questions/79730367/is-sample-accurate-decoding-from-an-arbitrary-flac-seekpoint-possible

Best,
Gabriel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions