mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
tests: audioresample: adjust unit test to relaxed discont checking
This commit is contained in:
parent
2f1eb43c62
commit
a0e083a717
1 changed files with 8 additions and 8 deletions
|
@ -327,18 +327,18 @@ test_discont_stream_instance (int inrate, int outrate, int samples,
|
|||
GST_START_TEST (test_discont_stream)
|
||||
{
|
||||
/* integral scalings */
|
||||
test_discont_stream_instance (48000, 24000, 500, 20);
|
||||
test_discont_stream_instance (48000, 12000, 500, 20);
|
||||
test_discont_stream_instance (12000, 24000, 500, 20);
|
||||
test_discont_stream_instance (12000, 48000, 500, 20);
|
||||
test_discont_stream_instance (48000, 24000, 5000, 20);
|
||||
test_discont_stream_instance (48000, 12000, 5000, 20);
|
||||
test_discont_stream_instance (12000, 24000, 5000, 20);
|
||||
test_discont_stream_instance (12000, 48000, 5000, 20);
|
||||
|
||||
/* non-integral scalings */
|
||||
test_discont_stream_instance (44100, 8000, 500, 20);
|
||||
test_discont_stream_instance (8000, 44100, 500, 20);
|
||||
test_discont_stream_instance (44100, 8000, 5000, 20);
|
||||
test_discont_stream_instance (8000, 44100, 5000, 20);
|
||||
|
||||
/* wacky scalings */
|
||||
test_discont_stream_instance (12345, 54321, 500, 20);
|
||||
test_discont_stream_instance (101, 99, 500, 20);
|
||||
test_discont_stream_instance (12345, 54321, 5000, 20);
|
||||
test_discont_stream_instance (101, 99, 5000, 20);
|
||||
}
|
||||
|
||||
GST_END_TEST;
|
||||
|
|
Loading…
Reference in a new issue