xmos / lib_xua

XMOS USB Audio
Other
17 stars 15 forks source link

Feat/remove ua cores #410

Closed xross closed 4 months ago

xross commented 4 months ago

Do not run UA buffering cores when NUM_USB_CHAN_OUT & NUM_USB_CHAN_IN == 0.

This saves 2 cores for i2s only builds (where HID/DFU etc remain active)

I renamed a channel to make its naming consistent between tasks (improved readability)

xross commented 4 months ago

I started looking at changing the SF change etc comms to make it more uniform, such that the MIXER can be turned of/off and the same protocol is used. However, it turns out keeping the mixer enabled with no USB would be a bit more work (and no ones asked for it yet) so I didn't complete the work. I left the comms tidy up in place to aid future work.

xross commented 4 months ago

Pushing this though to hit the weekend run.