From: Anssi Hannula <anssi.hannula@iki.fi>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: HDA - hdmi_show_short_audio_desc puts wrong rates in eld#N
Date: Tue, 07 Dec 2010 13:01:18 +0200 [thread overview]
Message-ID: <4CFE13FE.5070703@iki.fi> (raw)
Hi!
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
next reply other threads:[~2010-12-07 11:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-07 11:01 Anssi Hannula [this message]
2011-01-11 17:25 ` HDA - hdmi_show_short_audio_desc puts wrong rates in eld#N Anssi Hannula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CFE13FE.5070703@iki.fi \
--to=anssi.hannula@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).