[alsa-devel] HDA - hdmi_show_short_audio_desc puts wrong rates in eld#N

Anssi Hannula anssi.hannula at iki.fi
Tue Dec 7 12:01:18 CET 2010


Just noticed that the sample rates reported in eld#X.Y are wrong.

They are printed by hdmi_show_short_audio_desc() in hda_eld.c. That
function uses the snd_print_pcm_rates() function to convert the rates
bitmap to a string. However, snd_print_pcm_rates() takes a HDA rates
bitmap, not a generic SNDRV_ one.  (BTW, an interesting function name
for an internal HDA thing...)

This results in several errors.

For example, my 32000 44100 48000 88200 96000 176400 192000
becomes 44100 48000 88200 176400 192000 384000.

Anssi Hannula

More information about the Alsa-devel mailing list