chipaudette
Well-known member
In my work with my forked (floating point) version of the Teensy Audio library, I've had good success being able to change the sample rate and block size for the audio system. It works well for I2S audio because I replumbed the I2S audio objects to handle the new functionality. Now I'd like to modify the USB Audio code to get it to work.
Poking around the USB_Audio.h and USB_Audio.cpp in the core Teensy library, I can kinda see how it goes together. But, I can't see how (or if?) the Teensy's sample rate and block size come into play.
How does the Teensy's sample rate get communicated through the USB subsystem to the PC?
And, does the Teensy's block size matter? Or, does the USB link have its own block size that is independent from the audio library's block size?
Thanks,
Chip
Poking around the USB_Audio.h and USB_Audio.cpp in the core Teensy library, I can kinda see how it goes together. But, I can't see how (or if?) the Teensy's sample rate and block size come into play.
How does the Teensy's sample rate get communicated through the USB subsystem to the PC?
And, does the Teensy's block size matter? Or, does the USB link have its own block size that is independent from the audio library's block size?
Thanks,
Chip