Re: [Alsa-user] Relating a card:device tuple to its ALSA controls

2016-02-25 Thread Clemens Ladisch
Ezequiel Garcia wrote: > $ aplay -l > card 0: PCH [HDA Intel PCH], device 0: ALC269VC Analog [ALC269VC Analog] > card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] > > $ sudo amixer -c 0 controls > numid=24,iface=CARD,name='HDMI/DP,pcm=3 Jack' > numid=18,iface=CARD,name='Headphone Jack' > > How

[Alsa-user] Relating a card:device tuple to its ALSA controls

2016-02-22 Thread Ezequiel Garcia
Hello everyone, I'm trying to write some app that should show the user the available ALSA playback devices, and also show if the jack is plugged/unplugged. As an example, on my laptop I have one card, and two devices: (1) $ aplay -l List of PLAYBACK Hardware Devices card 0: PCH [HDA In