This is fine to hard-code. Section 9.1.8 of the OpenSL ES 1.1
specification, it is expected that multi-channel audio is always
interleaved.
GST_PAD_ALWAYS,
GST_STATIC_CAPS ("audio/x-raw, "
"format = (string) { " GST_AUDIO_NE (S16) ", " GST_AUDIO_NE (U8) "}, "
- "rate = (int) { " RATES "}, " "channels = (int) [1, 2]")
+ "rate = (int) { " RATES "}, " "channels = (int) [1, 2], "
+ "layout = (string) interleaved")
);
#define _do_init \
GST_STATIC_CAPS ("audio/x-raw, "
"format = (string) " GST_AUDIO_NE (S16) ", "
"rate = (int) 16000, "
- "channels = (int) 1")
+ "channels = (int) 1, "
+ "layout = (string) interleaved")
);
/* *INDENT-ON* */