sbc: Use native byte order for audio in GStreamer and ALSA plugins
This fixes endianness inconsistency between default SBC configuration and GStreamer/ALSA.
This commit is contained in:
parent
a3bf74686a
commit
3f994a84bb
@ -50,7 +50,7 @@ GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw-int, "
|
||||
"rate = (int) { 16000, 32000, 44100, 48000 }, "
|
||||
"channels = (int) [ 1, 2 ], "
|
||||
"endianness = (int) LITTLE_ENDIAN, "
|
||||
"endianness = (int) BYTE_ORDER, "
|
||||
"signed = (boolean) true, " "width = (int) 16, " "depth = (int) 16"));
|
||||
|
||||
static GstFlowReturn
|
||||
|
@ -150,7 +150,7 @@ GST_STATIC_PAD_TEMPLATE ("sink", GST_PAD_SINK, GST_PAD_ALWAYS,
|
||||
GST_STATIC_CAPS ("audio/x-raw-int, "
|
||||
"rate = (int) { 16000, 32000, 44100, 48000 }, "
|
||||
"channels = (int) [ 1, 2 ], "
|
||||
"endianness = (int) LITTLE_ENDIAN, "
|
||||
"endianness = (int) BYTE_ORDER, "
|
||||
"signed = (boolean) true, " "width = (int) 16, " "depth = (int) 16"));
|
||||
|
||||
static GstStaticPadTemplate sbc_enc_src_factory =
|
||||
|
Loading…
x
Reference in New Issue
Block a user