1. 21 5月, 2010 1 次提交
  2. 05 3月, 2010 2 次提交
    • D
      ALSA: usb-audio: refactor code · e5779998
      Daniel Mack 提交于
      Clean up the usb audio driver by factoring out a lot of functions to
      separate files. Code for procfs, quirks, urbs, format parsers etc all
      got a new home now.
      
      Moved almost all special quirk handling to quirks.c and introduced new
      generic functions to handle them, so the exceptions do not pollute the
      whole driver.
      
      Renamed usbaudio.c to card.c because this is what it actually does now.
      Renamed usbmidi.c to midi.c for namespace clarity.
      Removed more things from usbaudio.h.
      
      The non-standard drivers were adopted accordingly.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      e5779998
    • D
      ALSA: usb-audio: header file cleanups · 3e1aebef
      Daniel Mack 提交于
      Rename snd-usb-lib to snd-usbmidi-lib as MIDI functions are the only
      thing it actually contains. Introduce a new header file to only declare
      these functions.
      
      Introduced usbmixer.h for all functions exported by usbmixer.c.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Clemens Ladisch <clemens@ladisch.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      3e1aebef
  3. 02 3月, 2010 1 次提交
  4. 23 2月, 2010 3 次提交
    • D
      ALSA: usbaudio: consolidate header files · de48c7bc
      Daniel Mack 提交于
      Use the definitions from linux/usb/audio.h all over the ALSA USB audio
      driver and add some missing definitions there as well.
      
      Use the endpoint attribute macros from linux/usb/ch9 and remove the own
      things from sound/usb/usbaudio.h.
      
      Now things are also nicely prefixed which makes understanding the code
      easier.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      de48c7bc
    • D
      ALSA: usbaudio: implement basic set of class v2.0 parser · 53ee98fe
      Daniel Mack 提交于
      This adds a number of parsers for audio class v2.0. In particular, the
      following internals are different and now handled by the code:
      
      * the number of streaming interfaces is now reported by an interface
        association descriptor. The old approach using a proprietary
        descriptor is deprecated.
      
      * The number of channels per interface is now stored in the AS_GENERAL
        descriptor (used to be part of the FORMAT_TYPE descriptor).
      
      * The list of supported sample rates is no longer stored in a variable
        length appendix of the format_type descriptor but is retrieved from
        the device using a class specific GET_RANGE command.
      
      * Supported sample formats are now reported as 32bit bitmap rather than
        a fixed value. For now, this is worked around by choosing just one of
        them.
      
      * A devices needs to have at least one CLOCK_SOURCE descriptor which
        denotes a clockID that is needed im the class request command.
      
      * Many descriptors (format_type, ...) have changed their layout. Handle
        this by casting the descriptors to the appropriate structs.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      53ee98fe
    • D
      ALSA: usbaudio: introduce new types for audio class v2 · 8fee4aff
      Daniel Mack 提交于
      This patch adds some definitions for audio class v2.
      
      Unfortunately, the UNIT types PROCESSING_UNIT and EXTENSION_UNIT have
      different numerical representations in both standards, so there is need
      for a _V1 add-on now. usbmixer.c is changed accordingly.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      8fee4aff
  5. 28 12月, 2009 3 次提交
  6. 15 12月, 2009 1 次提交
  7. 24 11月, 2009 1 次提交
  8. 07 11月, 2009 1 次提交
    • J
      ALSA: usb-audio: fix combine_word problem · f4950882
      Julian Anastasov 提交于
      Fix combine_word problem where first octet is not
      read properly. The only affected place seems to be the
      INPUT_TERMINAL type. Before now, sound controls can be created
      with the output terminal's name which is a fallback mechanism
      used only for unknown input terminal types. For example,
      Line can wrongly appear as Speaker. After the change it
      should appear as Line.
      
      	The side effect of this change can be that users
      can expect the wrong control name in their scripts or
      programs while now we return the correct one.
      
      	Probably, these defines should use get_unaligned_le16 and
      friends.
      Signed-off-by: NJulian Anastasov <ja@ssi.bg>
      Cc: <stable@kernel.org>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      f4950882
  9. 27 5月, 2009 1 次提交
  10. 10 10月, 2008 1 次提交
  11. 15 8月, 2008 1 次提交
  12. 01 8月, 2008 1 次提交
  13. 01 2月, 2008 1 次提交
  14. 09 2月, 2007 1 次提交
    • B
      [ALSA] usbaudio - Add support for Edirol UA-101 · d0b0fac1
      Bjoern Fay 提交于
      Added support for the Edirol UA-101 (only in high-speed mode) by taking
      the quirks for the UA-1000 and change them accordingly. Changes were
      made in 'usbaudio.c', 'usbaudio.h', and 'usbquirks.h'
      MIDI and recording seem to work perfectly (with JACK), but playback
      gives some few glitches. I think that's the mentioned
      synchronizing-problem in the UA-1000 quirk ('FIXME: playback must be
      synchronized to capture'), so I didn't change that.
      ToDo: Adding Mixer-Support for the built-in
      control-panel/patch-bay/router.
      Signed-off-by: NBjoern Fay <mail@bfay.de>
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NJaroslav Kysela <perex@suse.cz>
      d0b0fac1
  15. 23 6月, 2006 1 次提交
  16. 22 3月, 2006 1 次提交
  17. 03 1月, 2006 1 次提交
  18. 04 11月, 2005 2 次提交
  19. 28 7月, 2005 3 次提交
  20. 29 5月, 2005 3 次提交
  21. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4