tests: fix some more tests
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 6 Feb 2012 12:44:20 +0000 (13:44 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 6 Feb 2012 12:44:20 +0000 (13:44 +0100)
tests/check/elements/audiopanorama.c
tests/check/elements/audiowsincband.c
tests/check/elements/audiowsinclimit.c

index 42fce97..c21fe66 100644 (file)
@@ -38,18 +38,22 @@ GstPad *mysrcpad, *mysinkpad;
     "audio/x-raw, "                     \
     "channels = (int) 1, "              \
     "rate = (int) 44100, "              \
+    "layout = (string) interleaved, "   \
     "format = (string) " GST_AUDIO_NE(S16)
 
 #define PANORAMA_STEREO_CAPS_STRING  \
     "audio/x-raw, "                     \
     "channels = (int) 2, "              \
+    "channel-mask = (bitmask) 3, "      \
     "rate = (int) 44100, "              \
+    "layout = (string) interleaved, "   \
     "format = (string) " GST_AUDIO_NE(S16)
 
 #define PANORAMA_WRONG_CAPS_STRING  \
     "audio/x-raw, "                     \
     "channels = (int) 5, "              \
     "rate = (int) 44100, "              \
+    "layout = (string) interleaved, "   \
     "format = (string) " GST_AUDIO_NE(U16)
 
 
@@ -59,7 +63,8 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_STATIC_CAPS ("audio/x-raw, "
         "channels = (int) 2, "
         "rate = (int) [ 1,  MAX ], "
-       "format = (string) " GST_AUDIO_NE(S16))
+        "layout = (string) interleaved, "
+        "format = (string) " GST_AUDIO_NE (S16))
     );
 static GstStaticPadTemplate msrctemplate = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
@@ -67,7 +72,8 @@ static GstStaticPadTemplate msrctemplate = GST_STATIC_PAD_TEMPLATE ("src",
     GST_STATIC_CAPS ("audio/x-raw, "
         "channels = (int) 1, "
         "rate = (int) [ 1,  MAX ], "
-       "format = (string) " GST_AUDIO_NE(S16))
+        "layout = (string) interleaved, "
+        "format = (string) " GST_AUDIO_NE (S16))
     );
 static GstStaticPadTemplate ssrctemplate = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
@@ -75,7 +81,8 @@ static GstStaticPadTemplate ssrctemplate = GST_STATIC_PAD_TEMPLATE ("src",
     GST_STATIC_CAPS ("audio/x-raw, "
         "channels = (int) 2, "
         "rate = (int) [ 1,  MAX ], "
-       "format = (string) " GST_AUDIO_NE(S16))
+        "layout = (string) interleaved, "
+        "format = (string) " GST_AUDIO_NE (S16))
     );
 
 static GstElement *
index 6d1e6a1..7b506be 100644 (file)
@@ -35,12 +35,14 @@ GstPad *mysrcpad, *mysinkpad;
 #define AUDIO_WSINC_BAND_CAPS_STRING_32          \
     "audio/x-raw, "                              \
     "format = (string) " GST_AUDIO_NE (F32) ", " \
+    "layout = (string) interleaved, "            \
     "channels = (int) 1, "                       \
     "rate = (int) 44100"
 
 #define AUDIO_WSINC_BAND_CAPS_STRING_64          \
     "audio/x-raw, "                              \
     "format = (string) " GST_AUDIO_NE (F64) ", " \
+    "layout = (string) interleaved, "            \
     "channels = (int) 1, "                       \
     "rate = (int) 44100"
 
@@ -51,6 +53,7 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " FORMATS ", "
+        "layout = (string) interleaved, "
         "channels = (int) 1, " "rate = (int) 44100")
     );
 static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
@@ -58,6 +61,7 @@ static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
         "format = (string) " FORMATS ", "
+        "layout = (string) interleaved, "
         "channels = (int) 1, " "rate = (int) 44100")
     );
 
index bb0ea13..d3be585 100644 (file)
@@ -35,12 +35,14 @@ GstPad *mysrcpad, *mysinkpad;
 #define AUDIO_WSINC_LIMIT_CAPS_STRING_32           \
     "audio/x-raw, "                                \
     "format = (string) " GST_AUDIO_NE (F32) ", "   \
+    "layout = (string) interleaved, "              \
     "channels = (int) 1, "                         \
     "rate = (int) 44100"
 
 #define AUDIO_WSINC_LIMIT_CAPS_STRING_64           \
     "audio/x-raw, "                                \
     "format = (string) " GST_AUDIO_NE (F64) ", "   \
+    "layout = (string) interleaved, "              \
     "channels = (int) 1, "                         \
     "rate = (int) 44100"
 
@@ -50,14 +52,16 @@ static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
-        "channels = (string) " FORMATS ", "
+        "format = (string) " FORMATS ", "
+        "layout = (string) interleaved, "
         "channels = (int) 1, " "rate = (int) 44100")
     );
 static GstStaticPadTemplate srctemplate = GST_STATIC_PAD_TEMPLATE ("src",
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS ("audio/x-raw, "
-        "channels = (string) " FORMATS ", "
+        "format = (string) " FORMATS ", "
+        "layout = (string) interleaved, "
         "channels = (int) 1, " "rate = (int) 44100")
     );