summaryrefslogtreecommitdiffstats
path: root/ext/esd
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-03-24 22:07:03 +0000
committerAndy Wingo <wingo@pobox.com>2002-03-24 22:07:03 +0000
commit29aa39e99c71e2c7ae98883e72620e590e6ec965 (patch)
treeb553181db23bf46ba9e27382b6fcf9c731cfa934 /ext/esd
parent9e745b472d465325f1e8fd05a5d6465cb120d004 (diff)
filter newlines out of GST_DEBUG statements to reflect new core behavior fixes to adder's caps, again
Original commit message from CVS: * filter newlines out of GST_DEBUG statements to reflect new core behavior * fixes to adder's caps, again
Diffstat (limited to 'ext/esd')
-rw-r--r--ext/esd/esdmon.c14
-rw-r--r--ext/esd/esdsink.c12
2 files changed, 13 insertions, 13 deletions
diff --git a/ext/esd/esdmon.c b/ext/esd/esdmon.c
index 0ead7f7f..618b94fe 100644
--- a/ext/esd/esdmon.c
+++ b/ext/esd/esdmon.c
@@ -277,7 +277,7 @@ gst_esdmon_get (GstPad *pad)
g_return_val_if_fail (pad != NULL, NULL);
esdmon = GST_ESDMON(gst_pad_get_parent (pad));
- GST_DEBUG (GST_CAT_PLUGIN_INFO, "attempting to read something from esdmon\n");
+ GST_DEBUG (GST_CAT_PLUGIN_INFO, "attempting to read something from esdmon");
buf = gst_buffer_new ();
g_return_val_if_fail (buf, NULL);
@@ -323,7 +323,7 @@ gst_esdmon_get (GstPad *pad)
if (esdmon->depth == 16) readsamples /= 2;
esdmon->samples_since_basetime += readsamples;
- GST_DEBUG (GST_CAT_PLUGIN_INFO, "pushed buffer from esdmon of %ld bytes, timestamp %lld\n", readbytes, GST_BUFFER_TIMESTAMP (buf));
+ GST_DEBUG (GST_CAT_PLUGIN_INFO, "pushed buffer from esdmon of %ld bytes, timestamp %lld", readbytes, GST_BUFFER_TIMESTAMP (buf));
return buf;
}
@@ -441,21 +441,21 @@ gst_esdmon_open_audio (GstEsdmon *src)
if (src->depth == 16) esdformat |= ESD_BITS16;
else if (src->depth == 8) esdformat |= ESD_BITS8;
else {
- GST_DEBUG (0, "esdmon: invalid bit depth (%d)\n", src->depth);
+ GST_DEBUG (0, "esdmon: invalid bit depth (%d)", src->depth);
return FALSE;
}
if (src->channels == 2) esdformat |= ESD_STEREO;
else if (src->channels == 1) esdformat |= ESD_MONO;
else {
- GST_DEBUG (0, "esdmon: invalid number of channels (%d)\n", src->channels);
+ GST_DEBUG (0, "esdmon: invalid number of channels (%d)", src->channels);
return FALSE;
}
- GST_DEBUG (0, "esdmon: attempting to open connection to esound server\n");
+ GST_DEBUG (0, "esdmon: attempting to open connection to esound server");
src->fd = esd_monitor_stream(esdformat, src->frequency, src->host, connname);
if ( src->fd < 0 ) {
- GST_DEBUG (0, "esdmon: can't open connection to esound server\n");
+ GST_DEBUG (0, "esdmon: can't open connection to esound server");
return FALSE;
}
@@ -474,7 +474,7 @@ gst_esdmon_close_audio (GstEsdmon *src)
GST_FLAG_UNSET (src, GST_ESDMON_OPEN);
- GST_DEBUG (0, "esdmon: closed sound device\n");
+ GST_DEBUG (0, "esdmon: closed sound device");
}
static GstElementStateReturn
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c
index 99dfff17..b22e69d4 100644
--- a/ext/esd/esdsink.c
+++ b/ext/esd/esdsink.c
@@ -250,7 +250,7 @@ gst_esdsink_chain (GstPad *pad, GstBuffer *buf)
if (GST_BUFFER_DATA (buf) != NULL) {
if (!esdsink->mute && esdsink->fd >= 0) {
- GST_DEBUG (0, "esdsink: fd=%d data=%p size=%d\n",
+ GST_DEBUG (0, "esdsink: fd=%d data=%p size=%d",
esdsink->fd, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
write (esdsink->fd, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
}
@@ -363,21 +363,21 @@ gst_esdsink_open_audio (GstEsdsink *sink)
if (sink->depth == 16) esdformat |= ESD_BITS16;
else if (sink->depth == 8) esdformat |= ESD_BITS8;
else {
- GST_DEBUG (0, "esdsink: invalid bit depth (%d)\n", sink->depth);
+ GST_DEBUG (0, "esdsink: invalid bit depth (%d)", sink->depth);
return FALSE;
}
if (sink->channels == 2) esdformat |= ESD_STEREO;
else if (sink->channels == 1) esdformat |= ESD_MONO;
else {
- GST_DEBUG (0, "esdsink: invalid number of channels (%d)\n", sink->channels);
+ GST_DEBUG (0, "esdsink: invalid number of channels (%d)", sink->channels);
return FALSE;
}
- GST_DEBUG (0, "esdsink: attempting to open connection to esound server\n");
+ GST_DEBUG (0, "esdsink: attempting to open connection to esound server");
sink->fd = esd_play_stream_fallback(esdformat, sink->frequency, sink->host, connname);
if ( sink->fd < 0 ) {
- GST_DEBUG (0, "esdsink: can't open connection to esound server\n");
+ GST_DEBUG (0, "esdsink: can't open connection to esound server");
return FALSE;
}
@@ -396,7 +396,7 @@ gst_esdsink_close_audio (GstEsdsink *sink)
GST_FLAG_UNSET (sink, GST_ESDSINK_OPEN);
- GST_DEBUG (0, "esdsink: closed sound device\n");
+ GST_DEBUG (0, "esdsink: closed sound device");
}
static GstElementStateReturn