search for: op_read

Displaying 4 results from an estimated 4 matches for "op_read".

Did you mean: up_read
2013 Dec 05
1
playback of opus files using portaudio
...* output, unsigned long frameCount, const PaStreamCallbackTimeInfo* paInfo, PaStreamCallbackFlags paCallbacks, void *userData ) { OurData *data=(OurData*) userData; opus_int16* out=(opus_int16 *)output; int thisSize=frameCount; int smpls_decoded; while (thisSize>0) { smpls_decoded=op_read(data->sndFile,out,thisSize,NULL); out+=data->channels*smpls_decoded; thisSize-=data->channels*smpls_decoded; } return paContinue; } -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/opus/attachments/20131205/236007a9/attachmen...
2017 Feb 09
0
Opus and IceCast ?
...ps://github.com/fredvs/uos/blob/master/src/uos_opus<https://github.com/fredvs/uos/blob/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 IceC...
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 help in pointing me in the right direction would be greatly appreciated. Due to the nature of the chunks coming in and the need to obtain/assemble Opus packets before decoding, I'm aware that some buf...
2018 Apr 06
0
Decoding Opus File in Chunks
...code 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 help in pointing me in the right direction would be greatly > appreciated.  Due to the nature of the chunks coming in and the need to > obtain/assemble Opus packets before decoding, I&...