search for: op_open_callback

Displaying 3 results from an estimated 3 matches for "op_open_callback".

Did you mean: op_open_callbacks
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
2017 Feb 09
0
Opus and IceCast ?
...b/master/src/uos_opus.pas>.pas<https://github.com/fredvs/uos/blob/master/src/uos_opus.pas> This Opus codec is working like charm. For playing,seeking,... Opus files from devices ==> op_open_file + op_read* ==> Perfect, even adding DSP's. For playing Opus files from URL ==> op_open_callback + op_read* ==> Perfect even adding DSP's. Now it is time to attack the server part. How to do to make a audio-stream-server (like for web-radios or voip) ? Is it possible to do it with IceCast ? In a loop a buffer of pcm is encoded into Opus-format: opus_encode(encoder, @PCMIn, cFR...
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...