lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 26 May 2008 12:56:42 +0200
From:	Takashi Iwai <tiwai@...e.de>
To:	Clemens Ladisch <clemens@...isch.de>
Cc:	Kallol Biswas <nucleodyne@...il.com>,
	Lee Revell <rlrevell@...-job.com>,
	linux-kernel@...r.kernel.org, Xiaogeng Jin <xiaogeng.jin@...oo.com>
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ