improved buffer tests
This commit is contained in:
@@ -48,7 +48,7 @@ int test_mix_2()
|
||||
{
|
||||
dsp::BufferMulti<int> 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<int> v(r_buf[c], c);
|
||||
print(v, r_buf.capacity(), "v-buf");
|
||||
print(v, 20, "v-buf");
|
||||
std::cout << "----------------------------------------------" << std::endl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user