mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
law: add layout to audio caps
This commit is contained in:
parent
b55d5e23ee
commit
cdf927ab52
2 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,7 @@ GstStaticPadTemplate alaw_dec_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) " GST_AUDIO_NE (S16) ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]")
|
||||
);
|
||||
|
||||
|
@ -45,6 +46,7 @@ GstStaticPadTemplate alaw_enc_sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) " GST_AUDIO_NE (S16) ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]")
|
||||
);
|
||||
|
||||
|
|
|
@ -33,6 +33,7 @@ GstStaticPadTemplate mulaw_dec_src_factory = GST_STATIC_PAD_TEMPLATE ("src",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) " INT_FORMAT ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]")
|
||||
);
|
||||
|
||||
|
@ -48,6 +49,7 @@ GstStaticPadTemplate mulaw_enc_sink_factory = GST_STATIC_PAD_TEMPLATE ("sink",
|
|||
GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw, "
|
||||
"format = (string) " INT_FORMAT ", "
|
||||
"layout = (string) interleaved, "
|
||||
"rate = (int) [ 8000, 192000 ], " "channels = (int) [ 1, 2 ]")
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue