Skip to content
Snippets Groups Projects
Timothy B. Terriberry's avatar
Timothy B. Terriberry authored
The seeking functions on Windows internally dispatch to
 SetFilePointer(), whose behavior is undefined if you do not call
 it on "a file stored on a seeking device".
Check the type of file when it is opened and manually force seeks
 to fail if we do not have such a file.

Thanks to L W Anhonen for the report and Mark Harris for pointing
 out the solution used by opus-tools to avoid this problem.
24cb5eae
History

Opusfile

Travis Build Status Jenkins Build Status AppVeyor Build Status

The opusfile and opusurl libraries provide a high-level API for decoding and seeking within .opus files on disk or over http(s).

opusfile depends on libopus and libogg. opusurl depends on opusfile and openssl.

The library is functional, but there are likely issues we didn't find in our own testing. Please give feedback in #opus on irc.freenode.net or at opus@xiph.org.

Programming documentation is available in tree and online at https://opus-codec.org/docs/