ericsi...@gmail.com wrote:
Hello i am working on a GUI client for xmms2 as a personnal project.
I play stream on that player a lot, all my music is on a remote
server. I have been looking for a way to know how much of the stream
has been buffered so that my player can wait for a certain amount of
KB bufferred before starting playback and display a much % of the song
is buffered.

Hi!

Maybe what you want is a good buffering effect xform (that is at least what I want).

So you would have a chain like this:

curl -> mad -> buffer

And buffer would do clever buffering, making sure buffer is at least %X filled before providing data.

There is a src/xmms/ringbuf_xform.c file that maybe could be used as a basis for this.

This won't give you any information about how much the buffer is filled, so if that was your main motivation this wont help you.

 anders

--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to