working record wav

This commit is contained in:
Tom Gowan 2018-10-12 20:26:25 +11:00 • committed by mitchmindtree
parent d430000d2c
commit 910e0ba351
2 changed files with 30 additions and 1 deletions

View file

@ -181,9 +181,12 @@ impl EventLoop {
{
let $BuffersTypeIdent {
cpal: ref mut c_buffer,
channel: ref channels,
channel: ref mut channels,
} = $Buffers;
au::interleave(&channels, c_buffer);
for c in channels.iter_mut() {
c.clear();
}
}