check/: add a test for audioconvert
authorThomas Vander Stichele <thomas@apestaart.org>
Thu, 25 Aug 2005 17:20:02 +0000 (17:20 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Thu, 25 Aug 2005 17:20:02 +0000 (17:20 +0000)
commit7d1ce173830af4c35c654569a232728139dd517e
treeced3a8d447a190a5fbc71169da4613f20b27b5c2
parent1dfd2d885647ba0e5b8816f61a6a3617e5aeb834
check/: add a test for audioconvert

Original commit message from CVS:

* check/Makefile.am:
* check/elements/audioconvert.c: (setup_audioconvert),
(cleanup_audioconvert), (get_int_caps), (verify_convert),
(GST_START_TEST), (audioconvert_suite), (main):
add a test for audioconvert
* gst/audioresample/gstaudioresample.c:
* gst/audioresample/gstaudioresample.h:
set DURATION so that TIMESTAMP(a) + DURATION(a) == TIMESTAMP(b);
note that for buffers of 1/3 sec this means DURATION(c) is
one nanosecond more than for a and b
gst/audioresample/gstaudioresample.c
gst/audioresample/gstaudioresample.h