lkml.org 
[lkml]   [2008]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: HDMI Audio Support in ALSA
At Mon, 26 May 2008 09:16:15 +0200,
Clemens Ladisch wrote:
>
> Kallol Biswas wrote:
> > 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.
>
> There is. I already told you that these formats use
> SNDRV_PCM_FORMAT_S16_LE.

Yes. The apps usually sends the raw data as S16_LE to the driver.
In addition, we have status bits controls. These are stored into a
control element, and thus independently handled from the raw data.

With SNDRV_PCM_FORMAT_IEC958_SUBFRAME format, both the raw and the
status bits are composed together. But, which format is supported
depends purely on the driver.


Takashi


\
 
 \ /
  Last update: 2008-05-26 12:59    [W:0.053 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site