summaryrefslogtreecommitdiff
path: root/ext/artsd
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-06-29 19:46:13 +0000
committerBenjamin Otte <otte@gnome.org>2003-06-29 19:46:13 +0000
commitf4a7caa418d3a283392b1142fe9863ae870ce3b8 (patch)
tree8d29cf94dd85acfa8cc58f5761d28a24eae14223 /ext/artsd
parent813b3a530e66bebe1153c8b10abc4cafc99ac772 (diff)
compatibility fix for new GST_DEBUG stuff.
Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately.
Diffstat (limited to 'ext/artsd')
-rw-r--r--ext/artsd/gstartsdsink.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/artsd/gstartsdsink.c b/ext/artsd/gstartsdsink.c
index a7d1f7f3b..2847d8af1 100644
--- a/ext/artsd/gstartsdsink.c
+++ b/ext/artsd/gstartsdsink.c
@@ -20,6 +20,9 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include "gstartsdsink.h"
/* elementfactory information */
@@ -233,7 +236,7 @@ gst_artsdsink_chain (GstPad *pad, GstBuffer *buf)
int bytes;
void * bufptr = GST_BUFFER_DATA (buf);
int bufsize = GST_BUFFER_SIZE (buf);
- GST_DEBUG (0, "artsdsink: stream=%p data=%p size=%d",
+ GST_DEBUG ("artsdsink: stream=%p data=%p size=%d",
artsdsink->stream, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
do {
@@ -360,11 +363,11 @@ gst_artsdsink_open_audio (GstArtsdsink *sink)
return FALSE;
}
- GST_DEBUG (0, "artsdsink: attempting to open connection to aRtsd server");
+ GST_DEBUG ("artsdsink: attempting to open connection to aRtsd server");
sink->stream = arts_play_stream(sink->frequency, sink->depth,
sink->channels, connname);
/* FIXME: check connection */
- /* GST_DEBUG (0, "artsdsink: can't open connection to aRtsd server"); */
+ /* GST_DEBUG ("artsdsink: can't open connection to aRtsd server"); */
GST_FLAG_SET (sink, GST_ARTSDSINK_OPEN);
sink->connected = TRUE;