On Wed, 2009-12-09 at 07:15 +0800, Daniel Mack wrote: > On Wed, Dec 09, 2009 at 10:12:32AM +1100, Christopher James Halse Rogers wrote: > > As someone who has been (slowly) writing a C# wrapper for libpulse with > > the initial purpose of providing a volume-control... I don't think > > there's much extra code that could be usefully added to libpulse for > > writing GUIs. It's currently pretty simple to do all the pulse > > interaction required. > > Ah, can you share code? > Yes, but as I say, only slowly :). You can find the current (somewhat messy) bindings here[1]. There's not actually any GUI code using them yet, though. It would be relatively straightforward to write a volume control GUI, though; the bindings now bind about the minimum set to make that possible. The basic idea would be: connect a context, subscribe to server events, enumerate sinks - you've now got all the info you need for a volume control UI. Although I haven't bound them yet, moving streams around and such appear comparably easy. [1]: https://code.edge.launchpad.net/~pa-sharp-core/pulseaudio-sharp/trunk -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 489 bytes Desc: This is a digitally signed message part URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20091209/7dfbb89b/attachment.pgp>