summaryrefslogtreecommitdiffstats
path: root/audio/gstsbcenc.c
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2009-01-19 10:26:28 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-01-19 13:02:48 +0100
commita8c57dbfeb6d2c5f6a160df812aacd2983fde6d1 (patch)
treef80ed49a4347ebd3fc70de90ba16f70e00ef1316 /audio/gstsbcenc.c
parentc2576f2cfc2c3b30bf8b11bc7204be503d5ce63b (diff)
Use native byte order for audio in GStreamer and ALSA plugins
This fixes endianness inconsistency between default SBC configuration and GStreamer/ALSA.
Diffstat (limited to 'audio/gstsbcenc.c')
-rw-r--r--audio/gstsbcenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/gstsbcenc.c b/audio/gstsbcenc.c
index 3ecaacf6..789bf78f 100644
--- a/audio/gstsbcenc.c
+++ b/audio/gstsbcenc.c
@@ -147,7 +147,7 @@ static GstStaticPadTemplate sbc_enc_sink_factory =
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"));