tests/check/elements/speexresample.c: Make unit test again faster to prevent timeouts...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 25 Nov 2008 16:37:50 +0000 (16:37 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 25 Nov 2008 16:37:50 +0000 (16:37 +0000)
Original commit message from CVS:
* tests/check/elements/speexresample.c: (test_pipeline):
Make unit test again faster to prevent timeouts with valgrind.

tests/check/elements/speexresample.c

index c989ba3a2a0c751f3d14f4e22620775adc8a0867..8ac091b628449aec534c208af9a867d8584050ce 100644 (file)
@@ -615,7 +615,7 @@ test_pipeline (gint width, gboolean fp, gint inrate, gint outrate, gint quality)
 
   pipe_str =
       g_strdup_printf
-      ("audiotestsrc num-buffers=100 ! audioconvert ! audio/x-raw-%s,rate=%d,width=%d,channels=2 ! speexresample quality=%d ! audio/x-raw-%s,rate=%d,width=%d ! identity check-imperfect-timestamp=TRUE ! fakesink",
+      ("audiotestsrc num-buffers=10 ! audioconvert ! audio/x-raw-%s,rate=%d,width=%d,channels=2 ! speexresample quality=%d ! audio/x-raw-%s,rate=%d,width=%d ! identity check-imperfect-timestamp=TRUE ! fakesink",
       (fp) ? "float" : "int", inrate, width, quality, (fp) ? "float" : "int",
       outrate, width);