interaudio: Add support for arbitrary raw audio formats

This commit is contained in:
Sebastian Dröge 2014-10-22 19:34:17 +02:00
parent 9bcc1aa274
commit 76f879525d
2 changed files with 2 additions and 4 deletions

View file

@ -80,8 +80,7 @@ static GstStaticPadTemplate gst_inter_audio_sink_sink_template =
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw, format = (string) " GST_AUDIO_NE (S16) ", "
"rate = (int) 48000, channels = (int) 2")
GST_STATIC_CAPS ("audio/x-raw")
);

View file

@ -85,8 +85,7 @@ static GstStaticPadTemplate gst_inter_audio_src_src_template =
GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw, format = (string) " GST_AUDIO_NE (S16) ", "
"rate = (int) 48000, channels = (int) 2")
GST_STATIC_CAPS ("audio/x-raw")
);