diff --git a/delay/tests/test_mix.cpp b/delay/tests/test_mix.cpp index d802d92..3507485 100644 --- a/delay/tests/test_mix.cpp +++ b/delay/tests/test_mix.cpp @@ -48,7 +48,7 @@ int test_mix_2() { dsp::BufferMulti r_buf(5, 20); - for (int i=0; i < r_buf.capacity(); i++) + for (int i=0; i < 20; i++) { r_buf = 100 +i ; ++r_buf; @@ -57,14 +57,14 @@ int test_mix_2() r_buf.reset(); for (int c=0; c < r_buf.numChannels(); c++) { - print(r_buf[c], r_buf.capacity(), "r-buf"); + print(r_buf[c], 20, "r-buf"); std::cout << "----------------------------------------------" << std::endl; } for (int c=0; c < r_buf.numChannels(); c++) { dsp::Buffer v(r_buf[c], c); - print(v, r_buf.capacity(), "v-buf"); + print(v, 20, "v-buf"); std::cout << "----------------------------------------------" << std::endl; }