]> Repos - portaudio/commitdiff
use smaller latency
authorphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 19 Mar 2002 01:28:14 +0000 (01:28 +0000)
committerphilburk <philburk@0f58301d-fd10-0410-b4af-bbb618454e57>
Tue, 19 Mar 2002 01:28:14 +0000 (01:28 +0000)
pa_tests/pa_minlat.c

index 356ccb9c8a1a71363db9d5acb6de55eceaa2ac20..bc9f1852cc81267fe4f2c7446f74def5bec088b8 100644 (file)
@@ -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,