[pulseaudio-discuss] [PATCH RFC 1/4] device-port: Add volume to the ports struct.

David Henningsson david.henningsson at canonical.com
Tue Jan 15 00:42:11 PST 2013

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.

David Henningsson, Canonical Ltd.

More information about the pulseaudio-discuss mailing list