[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pulseaudio related problems....



Hi,

Helmut Grohne:
>  * Set a different sink to be the default sink. This doesn't move any
>    existing streams.

but it takes care of the "Future" part. For the "past" one, obviously
you'll have to ask PA to enumerate the sink's inputs and then move them
to the new default one by one.

The pavucontrol GUI doesn't do that currently, but it does do all the baby
steps so that you can accomplish this task manually with a couple of mouse
clicks.
So this shouldn't be *too* impossible to reproduce in your own code,
I'd assume.

> impossible to achieve such a basic task

Clearly not. Somewhat non-straightforward, OK, but then so is a lot of the
rest of our ecosystem.

> This isn't the only deficit, that is by design. Ever tried to get
> activity notification from PA for a particular sink (another thing alsa
> doesn't do at all)? It works, but it feels somewhat complicated:
> [...]

Well, that's what libraries are for -- they encapsulate complicated things
with an easy interface. Write that code once, use it anywhere.

-- 
-- Matthias Urlichs

Attachment: signature.asc
Description: Digital signature


Reply to: