* Avoid using STL map in process()!

* Exceptions in resampler
This commit is contained in:
Chris Cannam
2008-07-01 14:54:31 +00:00
parent c70480bb3c
commit 7e7e998ce5
4 changed files with 21 additions and 5 deletions

View File

@@ -982,7 +982,7 @@ RubberBandStretcher::Impl::process(const float *const *input, size_t samples, bo
bool allConsumed = false;
map<size_t, size_t> consumed;
size_t *consumed = (size_t *)alloca(m_channels * sizeof(size_t));
for (size_t c = 0; c < m_channels; ++c) {
consumed[c] = 0;
}