GNOME Bugzilla – Bug 156718
Polypaudio sink
Last modified: 2004-12-22 21:47:04 UTC
This patch against current CVS HEAD adds support for a sink for output to a polypaudio sound server. http://0pointer.de/public/gst-plugins.patch
* can you remove the g_print/g_message all around? * what does the operation_unref() in the various state changes do?
* your clocking code is fully commented *per line* (what a work!), can you please change that to the ususal #if 0/#endif?
i will remove the g_print() for you, i'll post the patch as soon as I am ready with it. pa_operation_unref() is used to decrement the reference count of the operation object, effectively freeing it when it is no longer required. In the polypaudio API most operations are executed asynchronously. All those functions return an operation object which may be used to cancel the operation or to explicitly wait for it to be completed. In case I am not interested in canceling or waiting for completion of such an asnychronous API call, I unref it immediately. You're not an emacs user, are you? The "per line" commenting is the default comment style on emacs when using the function "comment-region". And it makes sense. Anyway, I'm going to change that to #if 0/#endif. Lennart
I've updated the patch now. It's now available on the same URL: http://0pointer.de/public/gst-plugins.patch Lennart
This is in CVS now (and was included in 0.8.6).