Feedback with embedded USB audio gadget
I see that the USB Gadget has an explicit feedback node. It seems to deliver a constant (00 00 30 00) for a sample rate of 48kHz. I see that the value is initialized to a combination of the sample rate and the "pitch", which appears to be a control of the driver. Is the pitch plumbed up to the user-level through alsa somehow (if so how)? If not, is there some ALSA layer that servos the pitch to keep the host clock and the embedded clock synchronized?
Note that I answered this question myself. Please ignore.
On Mon, Oct 31, 2022 at 6:08 PM David Jaffe davidajaffe@gmail.com wrote:
I see that the USB Gadget has an explicit feedback node. It seems to deliver a constant (00 00 30 00) for a sample rate of 48kHz. I see that the value is initialized to a combination of the sample rate and the "pitch", which appears to be a control of the driver. Is the pitch plumbed up to the user-level through alsa somehow (if so how)? If not, is there some ALSA layer that servos the pitch to keep the host clock and the embedded clock synchronized?
participants (1)
-
David Jaffe