Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* 20bit PCM in 32 bit container
@ 2007-03-03 23:35 Maen Suleiman
  2007-03-04 15:39 ` Giuliano Pochini
  0 siblings, 1 reply; 2+ messages in thread
From: Maen Suleiman @ 2007-03-03 23:35 UTC (permalink / raw)
  To: alsa-devel

Hi ,

 My hardware uses a 20bit PCM format packed in 32bit, ,  I am using a
2.6.12 kernel and such a format doesn't exist, is the following enough
for defining this format:

 1) defning a new value in 'enum sndrv_pcm_format'
 2) adding new entry to pcm_formats[SNDRV_PCM_FORMAT_LAST+1] array
that describes the new format .

	[SNDRV_PCM_FORMAT_S20_NEW_LE] = {
		.width = 20, .phys = 32, .le = 1, .signd = 1,
		.silence = {},
	},


Thanks in advance

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-04 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-03 23:35 20bit PCM in 32 bit container Maen Suleiman
2007-03-04 15:39 ` Giuliano Pochini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox