Hi, Helmut Grohne: > Once you manually move a stream to a different sink, PA records your > decision and the default sink is no longer relevant for that client. So > when you move back, and restart your client, it is not affected by the > default sink. What you propose does not work. Do you have an alternative > in mind? > You either didn't say that you want to override user decisions, or I misread your email.
In any case, if you look at PA's dbus page, the Stream Restore Extension is documented and accessible; presumably you can use that to find the relevant entries and delete them. Finding that page took somewhat less time than writing this mail does, so frankly I don't really understand what your problem is. > > Well, that's what libraries are for -- they encapsulate complicated things > > with an easy interface. Write that code once, use it anywhere. > > If PA is too crappy to interface directly, then it's not for me. That does not follow. The whole point of libraries is to transform high-level- into low(er)-level interfaces. Your code uses malloc() even though the kernel only offers sbrk() and mmap(). Similarly, why do you use Gnome libraries if all these do is to transform your calls into GTK calls? Or GTK if all they do (or rather, did) is to call Xlib? Or Xlib, if all *that* does is to open a TCP or Unix-domain stream socket and read/writes random(-seeming) bytes? Same thing. -- -- Matthias Urlichs
signature.asc
Description: Digital signature