Displaying 4 results from an estimated 4 matches for "op_test_memori".
Did you mean:
op_test_memory
2017 Jan 27
2
buffer of op_test_memory ?
Hello.
What is the buffer in op_test_memory method ?
I have try with a array of bytes but without luck:
op_test_memory(Bufferofbytes,1024, Err)
The error code is -139 (OP_EBADTIMESTAMP).
The contend of the Bufferofbytes (from a web-url-audio file) is this:
Lavf57.57.100
encoder=Lavc57.65.100 libopustitle=Be Thankful%artist=For What You GotWilliam De Vau$album=Blaxploitation Vol.3 The
2017 Jan 28
2
How to use op_test_callbacks ?
Hello.
I have succeffully open a memory buffer 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
2017 Jan 28
0
buffer of op_test_memory ?
Hello.
Many thanks for your light, indeed the header was corrupt, I have try with a other opus file and...
op_test_memory + op_open_test gives 0 as error and the tags are assigned, numer of channels + length ok.
Perfect.
Thanks.
Fre;D
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2017 Jan 28
0
How to use op_test_callbacks ?
Fred van Stappen wrote:
> I have succeffully open a memory buffer 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,