Re: [RFC v3 7/7] ASoC: hdmi-codec: Add ELD control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/19/16 14:05, Takashi Iwai wrote:
On Tue, 19 Jan 2016 13:00:05 +0100,
Jyri Sarha wrote:

On 01/12/16 17:38, Philipp Zabel wrote:
Exporting the ELD bytes to userspace allows an application to select
an appropriate audio format depending on the current capabilities of
the connected HDMI sink device.


This looks good, but I was unable to test it. Obviously amixer or
alsamixer is unable to show anything about an ELD mixer element,

You can use amixer cget command to retrieve the information.

but
shouldn't there be something about it shown under /proc/asound/card0/,
or am I mistaken.

It's specific to driver.  HD-audio has one, but it doesn't show the
whole ELD but only parsed contents.



Thanks,
I managed the read the ELD bytes with:

amixer -c0 cget iface=PCM,name='ELD',device=0

And the numbers change a bit when I connect to a different TV, so:

Reviewed-by: Jyri Sarha <jsarha@xxxxxx>
Tested-by: Jyri Sarha <jsarha@xxxxxx>

Cheers,
Jyri
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux