[alsa-devel] Separate input and output jacks for one UCM device?

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Wed Apr 1 18:56:50 CEST 2015


On Wed, 2015-04-01 at 13:27 +0100, Liam Girdwood wrote:
> On Tue, 2015-03-31 at 19:49 +0300, Tanu Kaskinen wrote:
> > So is your preference that UCM configuration authors are forced to
> > define simplex devices to deal with headset jacks, rather than using
> > duplex devices and defining "PlaybackJackControl" and
> > "CaptureJackControl" separately? (I don't personally mind either way.)
> 
> I don't really mind either, but what's easier for audio servers like
> pulseaudio that will be the main UCM clients ? I guess that pulseaudio,
> CRAS, and other audio servers probably deal with simplex PCM streams
> internally so mapping to simplex jacks/devices might be better ?

Yes, the native device representation in PulseAudio uses the simplex
model. However, the code for handling duplex UCM devices already exists,
so it shouldn't take a big effort to support duplex devices with
separate "PlaybackJackControl" and "CaptureJackControl" values.

-- 
Tanu



More information about the Alsa-devel mailing list