From: philburk Date: Tue, 19 Mar 2002 01:28:14 +0000 (+0000) Subject: use smaller latency X-Git-Tag: V18~43 X-Git-Url: https://andrewgundersen.net/repos?a=commitdiff_plain;h=35714fdc83a9cc0d36db6d254001aa99800fb638;p=portaudio use smaller latency --- diff --git a/pa_tests/pa_minlat.c b/pa_tests/pa_minlat.c index 356ccb9..bc9f185 100644 --- a/pa_tests/pa_minlat.c +++ b/pa_tests/pa_minlat.c @@ -41,7 +41,7 @@ #ifndef M_PI #define M_PI (3.14159265) #endif -#define DEFAULT_BUFFER_SIZE (128) +#define DEFAULT_BUFFER_SIZE (64) #define TABLE_SIZE (200) typedef struct { @@ -121,7 +121,7 @@ void main( int argc, char **argv ) paFloat32, /* 32 bit floating point output */ NULL, sampleRate, - framesPerBuffer,/* 46 msec buffers */ + framesPerBuffer, numBuffers, /* number of buffers */ paClipOff, /* we won't output out of range samples so don't bother clipping them */ paminlatCallback,