On 02/18/11 06:26, Arun Raghavan wrote: > On Fri, 2011-02-18 at 03:42 -0700, Kelly Anderson wrote: > [...] >> The alsa driver has creates a /proc entry that lists the coding types >> available for a particular device. It'd be nice if you would use that >> for the list of supported coding types (at least for a default). I'm >> not sure the list would be automatically updated if you unplugged a >> device and plugged in a new device. The comprehensive list of supported >> coding types is in alsa-kernel/pci/hda/hda-eld.c. > I don't know how it works for HDMI, but if it does update that list > based on the receiver, that would be ideal for us, since we should be > able to probe that while routing. Well I know for a fact with hdmi it updates the list when the kernel boots. I'm not sure it gets updated if you switch devices after the kernel is up. I'd say in over 90% of the cases it would be correct.