* tests/check/elements/audioconvert.c: (verify_convert),
(GST_START_TEST):
+ interpret the out[] buffer in the order the bytes are actually
+ put in, which is LITTLE_ENDIAN, not BYTE_ORDER.
+ Other tests should use BYTE_ORDER since the array is filled in
+ with actual values
+
+2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * tests/check/elements/audioconvert.c: (verify_convert),
+ (GST_START_TEST):
when a test fails, give an indication of which it is
2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
{
gint8 in[] = { 0, 1, 127 };
guint8 out[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x7f };
+ /* out has the bytes in little-endian, so that's how they should be
+ * interpreted during conversion */
RUN_CONVERSION ("8 to 24 signed", in, get_int_caps (1, "BYTE_ORDER", 8, 8,
- TRUE), out, get_int_caps (1, "BYTE_ORDER", 24, 24, TRUE)
+ TRUE), out, get_int_caps (1, "LITTLE_ENDIAN", 24, 24, TRUE)
);
- RUN_CONVERSION ("24 signed to 8", out, get_int_caps (1, "BYTE_ORDER", 24,
+ RUN_CONVERSION ("24 signed to 8", out, get_int_caps (1, "LITTLE_ENDIAN", 24,
24, TRUE), in, get_int_caps (1, "BYTE_ORDER", 8, 8, TRUE)
);
}