You've already forked ivan-torvalds-GuitarPedal
forked from AllSpiceMirrors/torvalds-GuitarPedal
This keeps the i2s_dma_buf as a 128-byte ring buffer, but instead of
being organized as 32 words of 32 bits each, it introduces the notion of a
typedef struct {
s32 left, right;
} raw_sample_t;
and makes the DMA ring-buffer be 16 of these entries instead.
The USB output buffer has also been changed to match this sample model,
and renamed to better reflect the fact that it's for USB.
The i2s PIO program is changed to use auto-pull to make it a bit more
streamlined. It could also have kept doing the explicit 'pull'
instructions, but that would have required another non-looping cycle to
set up.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>