dr_libs icon indicating copy to clipboard operation
dr_libs copied to clipboard

Make results consistent when trying to seek beyond the end of sounds.

Open mackron opened this issue 1 year ago • 0 comments

The various decoders in this repository are inconsistent when seeking beyond the end of the file. In some cases it will result in an errors, whereas in other cases it will clamp to the end and return success.

All decoders need to be updated so that an error is returned when trying to seek beyond the end of the file.

Original report from miniaudio: https://github.com/mackron/miniaudio/issues/651

mackron avatar Apr 07 '23 03:04 mackron