rust-portaudio icon indicating copy to clipboard operation
rust-portaudio copied to clipboard

Change the buffer types within the callback args from `&[S]` to `&[[S; N_CHANNELS]]`

Open mitchmindtree opened this issue 9 years ago • 0 comments

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.

mitchmindtree avatar Jan 22 '16 08:01 mitchmindtree