[fpc-pascal] How to use pipes ?
fiens at hotmail.com
Wed Feb 1 23:58:21 CET 2017
>The fact that op_read_float is zero is not an error, simply the amount of
samples read by opus engine is zero
Exactly. I know that isnot a error otherwise OutFrames < 0.
>simply the amount of samples read by opus engine is zero.
Exactly too and this because my conversion pipe into buffer is wrong.
I never worked with pipes and, to be honest, I do not get everything...
How to translate it to a "classical" buffer of a memory stream...
IMO, my code did read all the file from internet after +- 10 loops, the main
buffer of the pipe is full.
I am in the dark, the mechanism of pipes escape to me.
Otherwise, many thanks to make me discover Opus.
It seems really the universal audio format.
And open source.
One of the developers is the one who created SoundFile library (a must).
Many thanks ;-)
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/How-to-use-pipes-tp5727538p5727552.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal