1
linux/sound/usb
Daniel Mack 79f920fbff ALSA: usb-audio: parse clock topology of UAC2 devices
Audio devices which comply to the UAC2 standard can export complex clock
topologies in its descriptors and set up links between them.

The entities that are defined are

 - clock sources, which define the end-leafs.
 - clock selectors, which act as switch to select one out of many
   possible clocks sources.
 - clock multipliers, which have an input clock source, and act as clock
   source again. They can be used to derive one clock from another.

All sample rate changes, clock validity queries and the like must go to
clock source elements, while clock selectors and multipliers can be used
as terminal clock source.

The following patch adds a parser for these elements and functions to
iterate over the tree and find the leaf nodes (clock sources).

The samplerate set functions were moved to the new clock.c file.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-05-31 18:16:59 +02:00
..
caiaq ALSA: snd-usb-caiaq: Bump version number to 1.3.21 2010-05-29 21:49:11 +02:00
misc Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-05-20 21:26:12 -07:00
usx2y Merge branch 'topic/usb' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 into devel 2010-04-16 10:37:41 +02:00
card.c ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
card.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
clock.c ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
clock.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
debug.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
endpoint.c ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
endpoint.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
format.c ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
format.h ALSA: usb-audio: parse more format descriptors with structs 2010-05-27 09:48:31 +02:00
helper.c ALSA: usb - use of kmalloc/kfree requires the include of slab.h 2010-03-29 08:23:27 +02:00
helper.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
Kconfig Merge remote branch 'alsa/devel' into topic/usb 2010-03-23 14:56:33 +01:00
Makefile ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
midi.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2010-05-26 08:41:25 -07:00
midi.h ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
mixer_maps.c ALSA: usbmixer: rename usbmixer.[ch] -> mixer.[ch] 2010-03-12 12:20:49 +01:00
mixer_quirks.c ALSA: usb - use of kmalloc/kfree requires the include of slab.h 2010-03-29 08:23:27 +02:00
mixer_quirks.h ALSA: usb-mixer: factor out quirks 2010-03-12 12:20:26 +01:00
mixer.c ALSA: usb-audio: support partially write-protected UAC2 controls 2010-05-31 18:15:57 +02:00
mixer.h ALSA: usb-audio: support partially write-protected UAC2 controls 2010-05-31 18:15:57 +02:00
pcm.c ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00
pcm.h ALSA: usb-audio: add support for samplerate setting on v2 devices 2010-03-05 08:19:17 +01:00
proc.c ALSA: usb-audio: use a format bitmask per alternate setting 2010-03-05 08:18:32 +01:00
proc.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
quirks-table.h ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
quirks.c ALSA: usb-audio: add support for Akai MPD16 2010-05-21 17:12:30 +02:00
quirks.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
urb.c sound: fixup for usb_buffer_alloc/free rename 2010-05-20 21:15:18 -07:00
urb.h ALSA: usb-audio: refactor code 2010-03-05 08:17:14 +01:00
usbaudio.h ALSA: usb-audio: parse clock topology of UAC2 devices 2010-05-31 18:16:59 +02:00