mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-14 12:04:11 +00:00
tests: update for new audio caps
This commit is contained in:
parent
9151a5f88f
commit
c87d271008
2 changed files with 16 additions and 25 deletions
|
@ -30,24 +30,19 @@
|
|||
* get_peer, and then remove references in every test function */
|
||||
static GstPad *mysrcpad, *mysinkpad, *myshsinkpad;
|
||||
|
||||
#define FORMATS "{ S8, "GST_AUDIO_NE(S16)" }"
|
||||
|
||||
#define AUDIO_CAPS_TEMPLATE_STRING \
|
||||
"audio/x-raw-int, " \
|
||||
"audio/x-raw, " \
|
||||
"format = (string) "FORMATS", " \
|
||||
"rate = (int) [ 1, MAX ], " \
|
||||
"channels = (int) [ 1, 8 ], " \
|
||||
"endianness = (int) BYTE_ORDER, " \
|
||||
"width = (int) {8, 16}, " \
|
||||
"depth = (int) {8, 16}, " \
|
||||
"signed = (boolean) true"
|
||||
"channels = (int) [ 1, 8 ]"
|
||||
|
||||
#define AUDIO_CAPS_STRING \
|
||||
"audio/x-raw-int, " \
|
||||
"audio/x-raw, " \
|
||||
"format = (string) "GST_AUDIO_NE(S16)", " \
|
||||
"rate = (int) 1000, " \
|
||||
"channels = (int) 2, " \
|
||||
"endianness = (int) BYTE_ORDER, " \
|
||||
"width = (int) 16, " \
|
||||
"depth = (int) 16, " \
|
||||
"signed = (boolean) true"
|
||||
|
||||
"channels = (int) 2"
|
||||
|
||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
GST_PAD_SINK,
|
||||
|
|
|
@ -29,23 +29,19 @@
|
|||
* get_peer, and then remove references in every test function */
|
||||
static GstPad *mysrcpad, *myshsrcpad, *mysinkpad;
|
||||
|
||||
#define FORMATS "{ S8, "GST_AUDIO_NE(S16)" }"
|
||||
|
||||
#define AUDIO_CAPS_TEMPLATE_STRING \
|
||||
"audio/x-raw-int, " \
|
||||
"audio/x-raw, " \
|
||||
"format = (string) "FORMATS", " \
|
||||
"rate = (int) [ 1, MAX ], " \
|
||||
"channels = (int) [ 1, 8 ], " \
|
||||
"endianness = (int) BYTE_ORDER, " \
|
||||
"width = (int) {8, 16}, " \
|
||||
"depth = (int) {8, 16}, " \
|
||||
"signed = (boolean) true"
|
||||
"channels = (int) [ 1, 8 ]"
|
||||
|
||||
#define AUDIO_CAPS_STRING \
|
||||
"audio/x-raw-int, " \
|
||||
"audio/x-raw, " \
|
||||
"format = (string) "GST_AUDIO_NE(S16)", " \
|
||||
"rate = (int) 1000, " \
|
||||
"channels = (int) 2, " \
|
||||
"endianness = (int) BYTE_ORDER, " \
|
||||
"width = (int) 16, " \
|
||||
"depth = (int) 16, " \
|
||||
"signed = (boolean) true"
|
||||
"channels = (int) 2"
|
||||
|
||||
|
||||
static GstStaticPadTemplate sinktemplate = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||
|
|
Loading…
Reference in a new issue