[pulseaudio-discuss] [PATCHv3 0/4] Read and store UCM data as proplist

Colin Guthrie gmane at colin.guthr.ie
Wed May 11 04:43:17 PDT 2011

'Twas brillig, and Jorge Eduardo Candelaria at 10/05/11 21:29 did gyre
and gimble:
> This is the third version of the Pulseaudio and UCM integration. 
> This set of patches cover adding ucm data to proplist, adding a ucm API
> to get and set data to proplist, and lets module-alsa-card scan ucm data
> when the card is probed.
> Another set of patches dealing with jack module detection will be sent
> separately.

Thanks for this. I believe David will be helping review this stuff, but
is currently at UDS.

WRT the jack detection, I think we all agreed that it needs to be
handled more internally in the alsa code rather than separated as a module.

I'm not 100% sure of the finer details but I know David had ideas here too.

We basically need to match up the jack stuff with the appropriate
sink/source device on the system and then develop a way to automatically
change sink/source ports accordingly (it may also require that we change
the card profile too - e.g. change from a 5.1 profile to a stereo
profile when plugging in stereo headphones).

I'm not sure how to detect multiple jacks - e.g. if you plug in 3 jacks
to do 5.1 output, should 5.1 be handled automatically?

Anyway, all the jack detection stuff should be totally separate from UCM
stuff and could in theory be committed first. UCM should just hook into
port/profile changes for pushing new configs up to ucm and set the
appropriate verb+modifiers on the device.

(disclaimer, my UCM foo is still not awesome, but I think this is all
the consensus we reached on the matter!).



Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list