All AUDIO_FORMAT_PCM formats are signed, even 8 bits.
Index: alsa-kernel/usb/usbaudio.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbaudio.c,v
retrieving revision 1.63
diff -u -r1.63 usbaudio.c
--- alsa-kernel/usb/usbaudio.c 20 Aug 2003 09:59:59 -0000 1.63
+++ alsa-kernel/usb/usbaudio.c 16 Sep 2003 06:29:00 -0000
@@ -2002,7 +2002,7 @@
/* check the format byte size */
switch (fmt[5]) {
case 1:
- pcm_format = SNDRV_PCM_FORMAT_U8;
+ pcm_format = SNDRV_PCM_FORMAT_S8;
break;
case 2:
pcm_format = SNDRV_PCM_FORMAT_S16_LE;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel