[pulseaudio-discuss] [RFC] Alsa UCM integration.

Liam Girdwood lrg at slimlogic.co.uk
Fri Mar 4 03:27:36 PST 2011


On Fri, 2011-03-04 at 08:37 +0200, Tanu Kaskinen wrote:
> On Tue, 2011-03-01 at 15:20 +0000, Liam Girdwood wrote:

> > 
> > UCM supports between 0..n active devices per verb. e.g. it is possible
> > to enable both the headphone device and speaker device at the same time.
> 
> Right, I missed this. But these multiple devices must share the PCM
> device, because there can be only one PCM device associated with a verb.
> 

Yes, devices 0..n will use the same PCM here.

> > 
> > If we have verb+device pairs, how would we enable the Music verb and
> > play to more than one device at the same time ?
> 
> With modifiers that enable more devices. But yeah, since UCM supports
> defining multiple devices per verb as long as they use the same PCM
> device, it would be good if Pulseaudio would support this kind of
> configuration too. So, I hereby change my proposal: there would be one
> profile per verb, not per verb+device. This is then the same approach
> that Margarita started with :) If a verb has multiple devices defined
> for it, ports would be generated for the sink/source for each possible
> combination of those devices.
> 
> Otherwise my proposal stays the same: modifiers are modeled using
> mappings or ports, depending on whether the modifier PCM device is
> different or the same that is already associated with some already
> existing mapping in the profile. Profiles will have to be changed so
> that mappings can be activated independently, without interrupting
> streams going to already activated mappings.
> 

Ok, make sense to me too.

Thanks

Liam





More information about the pulseaudio-discuss mailing list