summaryrefslogtreecommitdiffstats
path: root/ext/arts/gst_arts.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-06-04 22:22:25 +0000
committerAndy Wingo <wingo@pobox.com>2002-06-04 22:22:25 +0000
commit79453e9df43cd22fd3b516a2a9a71b064306dff1 (patch)
treee504b1a762a384a3619d57f6317df563d764733e /ext/arts/gst_arts.c
parent986a3eb8c670ac3360fca5f3d3b1f8e84ef5427d (diff)
downloadgst-plugins-bad-79453e9df43cd22fd3b516a2a9a71b064306dff1.tar.gz
gst-plugins-bad-79453e9df43cd22fd3b516a2a9a71b064306dff1.tar.bz2
gst-plugins-bad-79453e9df43cd22fd3b516a2a9a71b064306dff1.zip
fix gstarts. the sound is krappy, but it does make sound -- remember to do osssink sync=false
Original commit message from CVS: fix gstarts. the sound is krappy, but it does make sound -- remember to do osssink sync=false
Diffstat (limited to 'ext/arts/gst_arts.c')
-rw-r--r--ext/arts/gst_arts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/arts/gst_arts.c b/ext/arts/gst_arts.c
index cbeaf323..9037513b 100644
--- a/ext/arts/gst_arts.c
+++ b/ext/arts/gst_arts.c
@@ -44,13 +44,13 @@ GST_PAD_TEMPLATE_FACTORY ( sink_temp,
GST_CAPS_NEW (
"arts_sample",
"audio/raw",
- "format", GST_PROPS_INT ("int"),
+ "format", GST_PROPS_STRING ("int"),
"law", GST_PROPS_INT (0),
"depth", GST_PROPS_INT (16),
"width", GST_PROPS_INT (16),
"signed", GST_PROPS_BOOLEAN (TRUE),
"channels", GST_PROPS_INT (2),
- "endianness", GST_PROPS_INT (G_LITTLE_ENDIAN)
+ "endianness", GST_PROPS_INT (G_BYTE_ORDER)
)
)
@@ -61,7 +61,7 @@ GST_PAD_TEMPLATE_FACTORY ( src_temp,
GST_CAPS_NEW (
"arts_sample",
"audio/raw",
- "format", GST_PROPS_INT ("int"),
+ "format", GST_PROPS_STRING ("int"),
"law", GST_PROPS_INT (0),
"depth", GST_PROPS_INT (16),
"width", GST_PROPS_INT (16),