All of lore.kernel.org
 help / color / mirror / Atom feed
* S24_LE Mode for USB Driver
@ 2008-08-07 20:25 Charles Eidsness
  2008-08-13 10:04 ` Takashi Iwai
  0 siblings, 1 reply; 7+ messages in thread
From: Charles Eidsness @ 2008-08-07 20:25 UTC (permalink / raw)
  To: alsa-devel

Hi All,

It looks like the parse_audio_format_i_type function at line 2369 of usbaudio.c 
(linux v2.6.23) doesn't support the case where  bSubframeSize (fmt[5]) = 4 bytes 
and  bBitResolution (fmt[6]) = 24 bits, which should correspond to a S24_LE (or 
BE) type. I'm developing a new USD DAC which supports this mode (24-bit sample 
in a 4 byte package). Right now Linux sends me S32_LE formated data, which is 
wrong. Would it be possible to expand this function to support S24_LE/BE? It 
would only require adding a few lines of code.

Thanks!
Charles

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

end of thread, other threads:[~2008-08-13 14:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-07 20:25 S24_LE Mode for USB Driver Charles Eidsness
2008-08-13 10:04 ` Takashi Iwai
2008-08-13 11:17   ` Clemens Ladisch
2008-08-13 12:27     ` Takashi Iwai
2008-08-13 12:39       ` Charles Eidsness
2008-08-13 12:55         ` Takashi Iwai
2008-08-13 14:15           ` Charles Eidsness

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.