[fpc-pascal] Internet audio streaming ?

fredvs fiens at hotmail.com
Thu Mar 19 14:26:45 CET 2015


Hello everybody and thanks for so much answers.

By the way, Andrew Haines explained how to do.

1) - Use fpPipe in BaseUnix/Unix to create a fifo.
2) - Create a THandleStream using the returned input value of fpPipe.
3) - Use mpg123_open_fd from the output value from fpPipe
4) - Use an instance of TfpHttpClient.Get(YourURL, AHandleStream) to
     retrieve the stream.

And... it works ;-)

Many, many thanks to Andrew.

PS:Andrew has done a excellent work with his PulseAudio wrapper =>
https://github.com/andrewd207/fpc-pulseaudio

Fre;D.



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Internet-audio-streaming-tp5721358p5721415.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list