search for: wantframesm

Displaying 2 results from an estimated 2 matches for "wantframesm".

2017 Jan 28
2
How to use op_test_callbacks ?
...from a url-opus-file with (from Pascal fpc): HandleOP := op_test_memory(BufferURL[0],PipeBufferSize, Err); op_test_open(StreamIn[x].Data.HandleOP); I can retrieve the tags infos, all seems ok. But for reading, using this gives 0 outframes: outframes := op_read_float(Data.HandleOP, at Buffer[0], Wantframesm, nil); I suspect that some callback must be defined. In opusfile library there is: OP_WARN_UNUSED_RESULT OggOpusFile *op_test_callbacks(void *_source, const OpusFileCallbacks *_cb,const unsigned char *_initial_data, size_t _initial_bytes,int *_error) OP_ARG_NONNULL(2); Maybe it is what I need...
2017 Jan 28
0
How to use op_test_callbacks ?
...c): > > HandleOP := op_test_memory(BufferURL[0],PipeBufferSize, Err); > op_test_open(StreamIn[x].Data.HandleOP); > > I can retrieve the tags infos, all seems ok. > > But for reading, using this gives 0 outframes: > > outframes := op_read_float(Data.HandleOP, at Buffer[0], Wantframesm, nil); Have you tried using op_open_memory() instead of op_test_memory()?