Skip to content
  • Thomas Vander Stichele's avatar
    check/: add a test for audioconvert · 7d1ce173
    Thomas Vander Stichele authored
    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
    7d1ce173