summaryrefslogtreecommitdiffstats
path: root/tests/check/elements
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-01-11 19:16:53 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-01-11 19:16:53 +0000
commite2d08f0f034a7810aed5c789341c9fb4f3ddbcb3 (patch)
tree4be1cb19a2423ecb71258131874f0174867b94a7 /tests/check/elements
parent59d2dce4fd9bfc782bdc51a0a65fb25a577fbe0b (diff)
downloadgst-plugins-bad-e2d08f0f034a7810aed5c789341c9fb4f3ddbcb3.tar.gz
gst-plugins-bad-e2d08f0f034a7810aed5c789341c9fb4f3ddbcb3.tar.bz2
gst-plugins-bad-e2d08f0f034a7810aed5c789341c9fb4f3ddbcb3.zip
tests/check/elements/: It's "endianness", not "endianess". Fixes unit tests.
Original commit message from CVS: * tests/check/elements/rganalysis.c: (test_buffer_const_float_mono), (test_buffer_const_float_stereo), (test_buffer_const_int16_mono), (test_buffer_const_int16_stereo), (test_buffer_square_float_mono), (test_buffer_square_float_stereo), (test_buffer_square_int16_mono), (test_buffer_square_int16_stereo): * tests/check/elements/rglimiter.c: (create_test_buffer): * tests/check/elements/rgvolume.c: (test_buffer_new): It's "endianness", not "endianess". Fixes unit tests.
Diffstat (limited to 'tests/check/elements')
-rw-r--r--tests/check/elements/rganalysis.c16
-rw-r--r--tests/check/elements/rglimiter.c2
-rw-r--r--tests/check/elements/rgvolume.c2
3 files changed, 10 insertions, 10 deletions
diff --git a/tests/check/elements/rganalysis.c b/tests/check/elements/rganalysis.c
index e8a9db2f..c5168fd2 100644
--- a/tests/check/elements/rganalysis.c
+++ b/tests/check/elements/rganalysis.c
@@ -365,7 +365,7 @@ test_buffer_const_float_mono (gint sample_rate, gsize n_frames, gfloat value)
caps = gst_caps_new_simple ("audio/x-raw-float",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 1,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -390,7 +390,7 @@ test_buffer_const_float_stereo (gint sample_rate, gsize n_frames,
caps = gst_caps_new_simple ("audio/x-raw-float",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 2,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -413,7 +413,7 @@ test_buffer_const_int16_mono (gint sample_rate, gint depth, gsize n_frames,
caps = gst_caps_new_simple ("audio/x-raw-int",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 1,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT, 16, "depth", G_TYPE_INT, depth, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -439,7 +439,7 @@ test_buffer_const_int16_stereo (gint sample_rate, gint depth, gsize n_frames,
caps = gst_caps_new_simple ("audio/x-raw-int",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 2,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT, 16, "depth", G_TYPE_INT, depth, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -473,7 +473,7 @@ test_buffer_square_float_mono (gint * accumulator, gint sample_rate,
caps = gst_caps_new_simple ("audio/x-raw-float",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 1,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -506,7 +506,7 @@ test_buffer_square_float_stereo (gint * accumulator, gint sample_rate,
caps = gst_caps_new_simple ("audio/x-raw-float",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 2,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -536,7 +536,7 @@ test_buffer_square_int16_mono (gint * accumulator, gint sample_rate,
caps = gst_caps_new_simple ("audio/x-raw-int",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 1,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT, 16, "depth", G_TYPE_INT, depth, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
@@ -570,7 +570,7 @@ test_buffer_square_int16_stereo (gint * accumulator, gint sample_rate,
caps = gst_caps_new_simple ("audio/x-raw-int",
"rate", G_TYPE_INT, sample_rate, "channels", G_TYPE_INT, 2,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "signed", G_TYPE_BOOLEAN, TRUE,
"width", G_TYPE_INT, 16, "depth", G_TYPE_INT, depth, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
diff --git a/tests/check/elements/rglimiter.c b/tests/check/elements/rglimiter.c
index 2d4a715b..2b7cc741 100644
--- a/tests/check/elements/rglimiter.c
+++ b/tests/check/elements/rglimiter.c
@@ -110,7 +110,7 @@ create_test_buffer ()
caps = gst_caps_new_simple ("audio/x-raw-float",
"rate", G_TYPE_INT, 44100, "channels", G_TYPE_INT, 1,
- "endianess", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
+ "endianness", G_TYPE_INT, G_BYTE_ORDER, "width", G_TYPE_INT, 32, NULL);
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);
diff --git a/tests/check/elements/rgvolume.c b/tests/check/elements/rgvolume.c
index 658e98ce..7159bb76 100644
--- a/tests/check/elements/rgvolume.c
+++ b/tests/check/elements/rgvolume.c
@@ -179,7 +179,7 @@ test_buffer_new (gfloat value)
data[i] = value;
caps = gst_caps_from_string ("audio/x-raw-float, "
- "rate = 8000, channels = 1, endianess = BYTE_ORDER, width = 32");
+ "rate = 8000, channels = 1, endianness = BYTE_ORDER, width = 32");
gst_buffer_set_caps (buf, caps);
gst_caps_unref (caps);