Mercurial > hg > svcore
comparison transform/FeatureExtractionModelTransformer.cpp @ 1086:9f4505ac9072
Tidy dense time-value model API a bit; add first simple unit test for FFT model
author | Chris Cannam |
---|---|
date | Wed, 10 Jun 2015 17:06:02 +0100 |
parents | f35c1f9bfaa2 |
children | 420fc961c0c4 |
comparison
equal
deleted
inserted
replaced
1085:bf6f64dabe73 | 1086:9f4505ac9072 |
---|---|
809 for (int i = 0; i < channelCount; ++i) { | 809 for (int i = 0; i < channelCount; ++i) { |
810 writebuf[i] = buffers[i] + offset; | 810 writebuf[i] = buffers[i] + offset; |
811 } | 811 } |
812 } | 812 } |
813 | 813 |
814 got = input->getData(0, channelCount-1, startFrame, size, writebuf); | 814 got = input->getMultiChannelData |
815 (0, channelCount-1, startFrame, size, writebuf); | |
815 | 816 |
816 if (writebuf != buffers) delete[] writebuf; | 817 if (writebuf != buffers) delete[] writebuf; |
817 } | 818 } |
818 | 819 |
819 while (got < size) { | 820 while (got < size) { |