Macro rsynth::audio_chunk
source · macro_rules! audio_chunk { [ [ $head_head:expr $( , $head_tail: expr )* ] $( , [ $tail_head:expr $( , $tail_tail: expr )* ] )* ] => { ... }; }
Expand description
Create an audio chunk.
Example
// Create an audio chunk with two channels and three frames.
let input = audio_chunk![[1, 2], [3, 4], [5, 6]];