diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lv2.cc | 6 | 
1 files changed, 4 insertions, 2 deletions
| diff --git a/test/lv2.cc b/test/lv2.cc index 0f80dea..0c86ad2 100644 --- a/test/lv2.cc +++ b/test/lv2.cc @@ -26,6 +26,8 @@   */  #include "dgunit.h" +#include <config.h> +  #include <thread>  #include <chrono>  #include <memory.h> @@ -379,7 +381,7 @@ public:  		// Port buffers:  		char sequence_buffer[4096]; -		float pcm_buffer[16][10]; +		float pcm_buffer[NUM_CHANNELS][10];  		bool freeWheel = true;  		// Free wheel port @@ -389,7 +391,7 @@ public:  		res = h.connectPort((int)Ports::MidiPort, seq.data());  		DGUNIT_ASSERT_EQUAL(0, res); -		for(int i = 0; i < 16; ++i) +		for(int i = 0; i < NUM_CHANNELS; ++i)  		{  			for(int j = 0; j < 10; ++j)  			{ | 
