From ffaaa7528a2348853c1a89963646012f2edba310 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Tue, 23 Aug 2005 09:46:29 +0000 Subject: sys/oss/gstosssrc.*: Totally ported, dude. Original commit message from CVS: 2005-08-23 Andy Wingo * sys/oss/gstosssrc.h: * sys/oss/gstosssrc.c: Totally ported, dude. * sys/oss/Makefile.am: * sys/oss/gstossaudio.c: Add osssrc. * sys/oss/gstosssink.c: We do native byte order. --- sys/oss/gstosssink.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sys/oss/gstosssink.c') diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index e26a8e79..efef1ba0 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -69,10 +69,8 @@ static GstStaticPadTemplate osssink_sink_factory = GST_PAD_SINK, GST_PAD_ALWAYS, GST_STATIC_CAPS ("audio/x-raw-int, " - //"endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, " - //"signed = (boolean) { TRUE, FALSE }, " - "endianness = (int) LITTLE_ENDIAN, " - "signed = (boolean) TRUE, " + "endianness = (int) { " G_STRINGIFY (G_BYTE_ORDER) " }, " + "signed = (boolean) { TRUE, FALSE }, " "width = (int) 16, " "depth = (int) 16, " "rate = (int) [ 1, MAX ], " "channels = (int) [ 1, 2 ]; " -- cgit