Displaying 2 results from an estimated 2 matches for "ga5b81c0b685f3d3c9c7d7091e5536c759".
2018 Apr 06
0
Decoding Opus File in Chunks
You might want to take a look at the op_open_callbacks API:
https://opus-codec.org/docs/opusfile_api-0.7/group__stream__open__close.html#ga5b81c0b685f3d3c9c7d7091e5536c759
libopusfile will only call your provided read() function as needed. If
you don't implement the seeking functions, it will only read it in a
linear order.
On 04/06/2018 09:08 AM, Chris McGowan wrote:
> I would like to decode an Opus file in chunks (e.g. 16K byte array). Is
> this possib...
2018 Apr 06
2
Decoding Opus File in Chunks
I would like to decode an Opus file in chunks (e.g. 16K byte array). Is
this possible with the Opusfile library or would I need to interface
directly with libogg and libopus? It seems like the Opusfile decoder
functions maintain an internal pointer/state for OggOpusFile during
multiple calls to op_read(OggOpusFile *_op ...) and a complete byte array
of the entire Opus file would be needed.
Any