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)
commit6dff9c2cbd10a4694c51efb4bb6d61882dd5eba5
treefa9d55c9d554e65ff98a17738e0f2ca25500911c
parent8f3a11d6f28abcb48150ae495c4fece007edc45d
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
ChangeLog
check/Makefile.am
check/elements/audioconvert.c [new file with mode: 0644]
gst/audioresample/gstaudioresample.c
gst/audioresample/gstaudioresample.h
tests/check/Makefile.am
tests/check/elements/audioconvert.c [new file with mode: 0644]