Messages in this thread | | | Date | Sat, 24 May 2008 21:41:00 -0700 | From | "Kallol Biswas" <> | Subject | Re: HDMI Audio Support in ALSA |
| |
Hello Takashi, I have been reading the pci/hda code, and now not sure if I have the answer to my original question.
The routine snd_hda_calc_stream_format() calls snd_pcm_format_width() to find if the format is supported and the width.
The array holds pcm_format[] holds all the supported formats. However, in this array there is no entry for IEC 60958 or IEC 61937. How does it work? How does the hda code handles the above frames?
It seems that snd_hda_calc_stream_format() is going to print "invalid format width < val>" for HDMI audio frames.
Kallol
On 5/23/08, Takashi Iwai <tiwai@suse.de> wrote: > At Thu, 22 May 2008 14:36:13 +0200, > > Clemens Ladisch wrote: > > > > > However, SNDRV_PCM_FMTBIT_IEC958_SUBFRAME is supported. > > > > This is only for some early revisions of the CMI8738 chip which require > > software to generate the preamble/channel status/subcode/parity bits > > for each subframe. > > > Some ATIIXP boards need it, too. HD-audio controllers can do also > this kind of things, but not needed. > > > > Takashi >
| |