[prev in list] [next in list] [prev in thread] [next in thread]
List: alsa-devel
Subject: [alsa-devel] [PATCH 5/9] ALSA: usb-audio: parse clock topology of UAC2 devices
From: daniel () caiaq ! de (Daniel Mack)
Date: 2010-05-31 12:51:31
Message-ID: 20100531125131.GG2695 () buzzloop ! caiaq ! de
[Download RAW message or body]
On Mon, May 31, 2010 at 01:35:40PM +0200, Daniel Mack wrote:
> 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 at caiaq.de>
Sorry, forgot to squash one hunk into this one.
New version of the patch is below.
Thanks,
Daniel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic