Hello. > Some streams requires you set its cursor to 0 before writing/reading > buffer, so you need to check it:
> OutPipe.Seek(0, soBeginning); > InPipe.Seek(0, soBeginning); > InPipe.Read(BufferURL[0],PipeBufferSize); =====> "Exception at 000000000043A720: EPipeSeek: Cannot seek on pipes." > So to resume, you file is a raw opus audio or an Ogg file ? Huh, I do not know. It was converted from a mp3. Localy, from a hard-disk: Using op_test_file("test.opus") + op_open_test() is working perfectly. IMO, the problem comes from abuffer in op_test_memory(abuffer,lengthb). I am not sure that a array of byte is what op_test_memory want. It is not a pipe (like lot of other audio lib use), if it is not a array of byte, what does he want...? > Said that, I had never touched opus in my life :) So I am not the only one. ;-) PS: On Opus forum, there is only one topic this year. Without answer. (And this topic is from me !). Fre;D ----- Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Pipe-vs-Memory-buffer-tp5727435p5727462.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal