[pulseaudio-discuss] [PATCH RFC 1/4] device-port: Add volume to the ports struct.
Damir Jelić
poljarinho at gmail.com
Tue Jan 15 03:51:07 PST 2013
On Tue, Jan 15, 2013 at 09:42:11AM +0100, David Henningsson wrote:
> On 01/14/2013 01:58 PM, Damir Jelić wrote:
> >On Fri, Jan 11, 2013 at 04:14:53PM +0100, David Henningsson wrote:
> >>One comment here, btw:
> >>
> >>If we tell clients that the port volume changed, there should also
> >>be a way for the clients to tell the port volume. I e, you need to
> >>add the port volume in the PROTOCOL, introspect.h, and maybe a
> >>client function to set it too?
> >
> >I wasn't sure if we want to confuse the user further with volume setting
> >controls, but sure I can add that too that shouldn't be too hard anyways.
>
> You can also act incrementally; so that you don't send the card
> change event in this patch (but possibly in a later patch).
>
> I mean, it's probably confusing for a client to get a card change
> event, then go polling the card just to find that nothing (that it
> can read) has changed.
>
The card change event is already needed for module-card-restore. I could
move the event sending into the card-restore patch but I don't really
see a need for this.
More information about the pulseaudio-discuss
mailing list