mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Kallol Biswas" <nucleodyne@gmail.com>
To: "Takashi Iwai" <tiwai@suse.de>
Cc: "Clemens Ladisch" <clemens@ladisch.de>,
	"Lee Revell" <rlrevell@joe-job.com>,
	linux-kernel@vger.kernel.org,
	"Xiaogeng Jin" <xiaogeng.jin@yahoo.com>
Subject: Re: HDMI Audio Support in ALSA
Date: Sat, 24 May 2008 21:41:00 -0700	[thread overview]
Message-ID: <438397970805242141l3f07e6e1he5805b09d9dbf989@mail.gmail.com> (raw)
In-Reply-To: <s5hod6xuvq3.wl%tiwai@suse.de>

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
>

  reply	other threads:[~2008-05-25  4:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-19 16:04 Kallol Biswas
2008-05-19 16:16 ` Lee Revell
2008-05-19 16:38   ` Kallol Biswas
2008-05-20  8:10     ` Clemens Ladisch
     [not found]       ` <438397970805211252u1d228ad8wcb1a6ef9b1251478@mail.gmail.com>
2008-05-22 12:36         ` Clemens Ladisch
2008-05-23 11:05           ` Takashi Iwai
2008-05-25  4:41             ` Kallol Biswas [this message]
2008-05-26  7:16               ` Clemens Ladisch
2008-05-26 10:56                 ` Takashi Iwai

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=438397970805242141l3f07e6e1he5805b09d9dbf989@mail.gmail.com \
    --to=nucleodyne@gmail.com \
    --cc=clemens@ladisch.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rlrevell@joe-job.com \
    --cc=tiwai@suse.de \
    --cc=xiaogeng.jin@yahoo.com \
    /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

all inboxes | Powered by JetHome®