On Sun, Jul 3, 2011 at 1:52 PM, Grant Diffey gdiffey@gmail.com wrote:
I'd like to discuss the API for the ALSA/USB decoupling as suggested by Clemens, which will solve this problem then.
Nobody has any ideas what this interface might look like?
From what I understand this would lead to re-unifying the ua101 driver into snd-usb-audio as well?
As I've said, my understanding of the USB audio standard covers a feedback model for which the capture stream implicitly defines the pace the driver is supposed to deliver audio samples to the playback endpoint (most devices do have sync endpoint for that). Considering that, there might be more devices coming up which do it that way, and we should have support for this model in the generic driver IMO.
So at least, my patch shows that it's not too hard to support it, and we just need a way to sort out how to incorporate the new logic in a way that it doesn't break the concept of the generic driver. Let me think about it for some more days. In the meantime, it sounded like Clemens already brooded on that topic for FireWire devices, and it might make sense to benefit from the results (and keep the API similar).
Daniel