From a8c57dbfeb6d2c5f6a160df812aacd2983fde6d1 Mon Sep 17 00:00:00 2001 From: Siarhei Siamashka Date: Mon, 19 Jan 2009 10:26:28 +0200 Subject: Use native byte order for audio in GStreamer and ALSA plugins This fixes endianness inconsistency between default SBC configuration and GStreamer/ALSA. --- audio/gstsbcenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio/gstsbcenc.c') 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")); -- cgit