diff options
author | Andy Wingo <wingo@pobox.com> | 2005-08-23 09:46:29 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2005-08-23 09:46:29 +0000 |
commit | ffaaa7528a2348853c1a89963646012f2edba310 (patch) | |
tree | be82a4e040013dcfef1596c87acdf13423c5d621 /sys/oss/gstosssink.c | |
parent | 86eb113de104057812506e7b694e9f0eda1cbef7 (diff) |
sys/oss/gstosssrc.*: Totally ported, dude.
Original commit message from CVS:
2005-08-23 Andy Wingo <wingo@pobox.com>
* 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.
Diffstat (limited to 'sys/oss/gstosssink.c')
-rw-r--r-- | sys/oss/gstosssink.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 ]; " |