All of lore.kernel.org
 help / color / mirror / Atom feed
* M-Audio Audiophile USB, native little endian (S16_LE) ?
@ 2007-07-08 13:36 Hakan Lennestal
  2007-07-09  8:12 ` RE : " Thibault Le Meur
  0 siblings, 1 reply; 21+ messages in thread
From: Hakan Lennestal @ 2007-07-08 13:36 UTC (permalink / raw)
  To: alsa-devel; +Cc: tiwai


Hi all !

I don't know if this is already known (?), but the M-Audio Audiophile USB
seem to be possible to run in native S16_LE mode if initialized with
device_setup=0x01 (possibly with 0x11 also, have not tested that).

This is at least the case with my rather new box (bought a couple of 
weeks ago).

Patch for usb/usbaudio.c (alsa-driver-1.0.14):

  static int is_big_endian_format(struct snd_usb_audio *chip, struct 
audioformat *fp)
  {
        switch (chip->usb_id) {
        case USB_ID(0x0763, 0x2001): /* M-Audio Quattro: captured data only */
                if (fp->endpoint & USB_DIR_IN)
                        return 1;
                break;
        case USB_ID(0x0763, 0x2003): /* M-Audio Audiophile USB */
  +             // Is small endian if setup with 0x01 !
  +             if (device_setup[chip->index] != 0x01)
                   return 1;
                break;
        }
        return 0;
  }

/Håkan

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

end of thread, other threads:[~2007-09-05 12:59 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-08 13:36 M-Audio Audiophile USB, native little endian (S16_LE) ? Hakan Lennestal
2007-07-09  8:12 ` RE : " Thibault Le Meur
2007-07-09  8:41   ` Takashi Iwai
2007-07-09 10:39   ` Hakan Lennestal
2007-07-10 21:22     ` Thibault Le Meur
2007-07-11  8:41       ` Takashi Iwai
2007-07-11 10:38         ` RE : " Thibault Le Meur
2007-07-11 10:44           ` RE : " Thibault Le Meur
2007-07-11 10:47             ` Takashi Iwai
2007-07-11 11:39               ` RE : " Thibault Le Meur
2007-07-11 21:48               ` Thibault Le Meur
2007-07-12  9:28                 ` Takashi Iwai
2007-07-12 21:21                   ` Thibault Le Meur
2007-07-12 22:41                     ` Hakan Lennestal
2007-07-13  9:57                     ` Takashi Iwai
2007-07-13 14:51                       ` M-Audio Audiophile USB - Remaining issues Thibault Le Meur
2007-07-13 15:05                         ` Takashi Iwai
2007-07-13 18:01                           ` Thibault Le Meur
2007-07-11 10:34       ` RE : M-Audio Audiophile USB, native little endian (S16_LE) ? Hakan Lennestal
2007-09-04 22:18       ` Pavel Polischouk
2007-09-05 12:59         ` Takashi Iwai

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.