tests: audioresample: adjust unit test to relaxed discont checking

This commit is contained in:
Mark Nauwelaerts 2010-12-13 13:04:40 +01:00
parent 2f1eb43c62
commit a0e083a717

View file

@ -327,18 +327,18 @@ test_discont_stream_instance (int inrate, int outrate, int samples,
GST_START_TEST (test_discont_stream) GST_START_TEST (test_discont_stream)
{ {
/* integral scalings */ /* integral scalings */
test_discont_stream_instance (48000, 24000, 500, 20); test_discont_stream_instance (48000, 24000, 5000, 20);
test_discont_stream_instance (48000, 12000, 500, 20); test_discont_stream_instance (48000, 12000, 5000, 20);
test_discont_stream_instance (12000, 24000, 500, 20); test_discont_stream_instance (12000, 24000, 5000, 20);
test_discont_stream_instance (12000, 48000, 500, 20); test_discont_stream_instance (12000, 48000, 5000, 20);
/* non-integral scalings */ /* non-integral scalings */
test_discont_stream_instance (44100, 8000, 500, 20); test_discont_stream_instance (44100, 8000, 5000, 20);
test_discont_stream_instance (8000, 44100, 500, 20); test_discont_stream_instance (8000, 44100, 5000, 20);
/* wacky scalings */ /* wacky scalings */
test_discont_stream_instance (12345, 54321, 500, 20); test_discont_stream_instance (12345, 54321, 5000, 20);
test_discont_stream_instance (101, 99, 500, 20); test_discont_stream_instance (101, 99, 5000, 20);
} }
GST_END_TEST; GST_END_TEST;