diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-08-13 08:45:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-08-13 08:45:23 +0200 |
commit | bbbe33900d1f3c4402148ccb85234a741a6606a3 (patch) | |
tree | 294143653bfb5a045dea0396b8fee00ed7164b6e /lib | |
parent | 8a345a042ae75097fd493633633382644257cfc3 (diff) | |
download | blackbird-op-linux-bbbe33900d1f3c4402148ccb85234a741a6606a3.tar.gz blackbird-op-linux-bbbe33900d1f3c4402148ccb85234a741a6606a3.zip |
ALSA: hda - Restrict PCM parameters per ELD information over HDMI
When a device is plugged over HDMI, it passes some information in ELD
including the supported PCM parameters like formats, rates, channels.
This patch adds the check to PCM open callback of HDMI streams so that
only valid parameters the device supports are used.
When no device is plugged, the parameters the codec supports are used;
it's mostly all parameters the hardware can work. This is for apps
that are started before device plugging and do probing (e.g. a sound
daemon), so that at least, probing would work even before the device
plugging.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions