rust-portaudio
rust-portaudio copied to clipboard
Change the buffer types within the callback args from `&[S]` to `&[[S; N_CHANNELS]]`
Great suggestion by ubsan on IRC.
As we don't yet have typed integers, it might be best to just implement a new Channels trait for the common cases for now, i.e. Mono, Stereo, NChannels.