Hi Everybody,

I experience some issues with the flac playing over http stream. I posted here :
http://forum.musicpd.org/viewtopic.php?f=7&t=338

My questions for you developpers : What is the best way to modify input/CurlInputPlugin.cxx to not return data before the buffer has a certain amount of data?
(let's say 10KB for instance)

I suspect that libflac is not tolerant to a first 'packet' that is too small, ie. not containing the full header. I'd like to wait the buffer to fill before submitting data to decoder.

I tried a few options, like returning 0 in input_curl_read() but it put it stops the playback. I also tried to do a loop/wait in the code, but it's blocking the process. I simply have no experience with multithread development, and/or don't understand how the different thread of this piece of code is working.


Thanks,

Pierre
_______________________________________________
mpd-devel mailing list
[email protected]
http://mailman.blarg.de/listinfo/mpd-devel

Reply via email to