diff options
author | Andy Wingo <wingo@pobox.com> | 2002-03-24 22:07:03 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2002-03-24 22:07:03 +0000 |
commit | 29aa39e99c71e2c7ae98883e72620e590e6ec965 (patch) | |
tree | b553181db23bf46ba9e27382b6fcf9c731cfa934 /sys | |
parent | 9e745b472d465325f1e8fd05a5d6465cb120d004 (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 'sys')
-rw-r--r-- | sys/oss/gstossgst.c | 8 | ||||
-rw-r--r-- | sys/oss/gstosssink.c | 2 | ||||
-rw-r--r-- | sys/oss/gstosssrc.c | 12 |
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/oss/gstossgst.c b/sys/oss/gstossgst.c index 16c45e5e..fbaa903e 100644 --- a/sys/oss/gstossgst.c +++ b/sys/oss/gstossgst.c @@ -172,7 +172,7 @@ gst_ossgst_format_to_caps (gint format, gint stereo, gint rate) gint width = 16; gboolean supported = TRUE; - GST_DEBUG (0, "have format 0x%08x %d %d\n", format, stereo, rate); + GST_DEBUG (0, "have format 0x%08x %d %d", format, stereo, rate); switch (format) { case AFMT_MU_LAW: @@ -341,7 +341,7 @@ gst_ossgst_spawn_process (GstOssGst *ossgst) pipe(ossgst->fdin); pipe(ossgst->fdout); - GST_DEBUG (0, "about to fork\n"); + GST_DEBUG (0, "about to fork"); if((ossgst->childpid = fork()) == -1) { @@ -349,13 +349,13 @@ gst_ossgst_spawn_process (GstOssGst *ossgst) gst_element_error(GST_ELEMENT(ossgst),"forking"); return FALSE; } - GST_DEBUG (0,"forked %d\n", ossgst->childpid); + GST_DEBUG (0,"forked %d", ossgst->childpid); if(ossgst->childpid == 0) { gchar **args; - GST_DEBUG (0, "fork command %d\n", ossgst->childpid); + GST_DEBUG (0, "fork command %d", ossgst->childpid); ld_preload = getenv ("LD_PRELOAD"); diff --git a/sys/oss/gstosssink.c b/sys/oss/gstosssink.c index 64218d7f..9c1f78ad 100644 --- a/sys/oss/gstosssink.c +++ b/sys/oss/gstosssink.c @@ -454,7 +454,7 @@ gst_osssink_chain (GstPad *pad, GstBuffer *buf) queued = (ospace.fragstotal * ospace.fragsize) - ospace.bytes; time = osssink->offset + (optr.bytes) * 1000000LL / osssink->bps; - GST_DEBUG (GST_CAT_PLUGIN_INFO, "sync %llu %llu %d\n", buftime, time, queued); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "sync %llu %llu %d", buftime, time, queued); granularity = ospace.fragsize; /* granularity = size; */ diff --git a/sys/oss/gstosssrc.c b/sys/oss/gstosssrc.c index e493e554..c9ead8cd 100644 --- a/sys/oss/gstosssrc.c +++ b/sys/oss/gstosssrc.c @@ -189,7 +189,7 @@ gst_osssrc_get (GstPad *pad) g_return_val_if_fail (pad != NULL, NULL); src = GST_OSSSRC(gst_pad_get_parent (pad)); - GST_DEBUG (GST_CAT_PLUGIN_INFO, "attempting to read something from soundcard\n"); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "attempting to read something from soundcard"); buf = gst_buffer_new (); g_return_val_if_fail (buf, NULL); @@ -234,7 +234,7 @@ gst_osssrc_get (GstPad *pad) if (src->format == 16) readsamples /= 2; src->samples_since_basetime += readsamples; - GST_DEBUG (GST_CAT_PLUGIN_INFO, "pushed buffer from soundcard of %ld bytes, timestamp %lld\n", readbytes, GST_BUFFER_TIMESTAMP (buf)); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "pushed buffer from soundcard of %ld bytes, timestamp %lld", readbytes, GST_BUFFER_TIMESTAMP (buf)); return buf; } @@ -318,21 +318,21 @@ gst_osssrc_change_state (GstElement *element) /* GstOssSrc *src = GST_OSSSRC (element); */ g_return_val_if_fail (GST_IS_OSSSRC (element), FALSE); - GST_DEBUG (GST_CAT_PLUGIN_INFO, "osssrc: state change\n"); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "osssrc: state change"); /* if going down into NULL state, close the file if it's open */ if (GST_STATE_PENDING (element) == GST_STATE_NULL) { if (GST_FLAG_IS_SET (element, GST_OSSSRC_OPEN)) gst_osssrc_close_audio (GST_OSSSRC (element)); /* otherwise (READY or higher) we need to open the sound card */ } else { - GST_DEBUG (GST_CAT_PLUGIN_INFO, "DEBUG: osssrc: ready or higher\n"); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "DEBUG: osssrc: ready or higher"); if (!GST_FLAG_IS_SET (element, GST_OSSSRC_OPEN)) { if (!gst_osssrc_open_audio (GST_OSSSRC (element))) return GST_STATE_FAILURE; else { - GST_DEBUG (GST_CAT_PLUGIN_INFO, "osssrc: device opened successfully\n"); + GST_DEBUG (GST_CAT_PLUGIN_INFO, "osssrc: device opened successfully"); /* thomas: we can't set caps here because the element is * not actually ready yet */ } @@ -358,7 +358,7 @@ gst_osssrc_open_audio (GstOssSrc *src) /* set card state */ gst_osssrc_sync_parms (src); - GST_DEBUG (GST_CAT_PLUGIN_INFO,"opened audio: %s\n",src->device); + GST_DEBUG (GST_CAT_PLUGIN_INFO,"opened audio: %s",src->device); GST_FLAG_SET (src, GST_OSSSRC_OPEN); return TRUE; |