support interleaved audio properly
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 6 Mar 2020 18:12:21 +0000 (19:12 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 6 Mar 2020 18:12:21 +0000 (19:12 +0100)
commit98c6f2f05967e79b7d946c908d1198c108704293
tree37e584dd9db33aacad3466010cc5076a71607c83
parentdc19613ec7fe72fc0796422f3b0e4f688af12fe1
support interleaved audio properly

Now NAAudioBuffer has step field which tells the distance to the next
sample in the channel. This can be used to work with interleaved audio
stored as native samples (instead of packed buffer like before).
nihav-codec-support/src/test/wavwriter.rs
nihav-core/src/frame.rs
nihav-core/src/soundcvt/mod.rs