zaheer :
authorStéphane Loeuillet <gstreamer@leroutier.net>
Wed, 2 Jun 2004 11:47:09 +0000 (11:47 +0000)
committerStéphane Loeuillet <gstreamer@leroutier.net>
Wed, 2 Jun 2004 11:47:09 +0000 (11:47 +0000)
Original commit message from CVS:
zaheer :
* gst/tcp/gsttcp.c:
* gst/tcp/gsttcpclientsrc.c:
* gst/tcp/gsttcpclientsrc.h:
* gst/tcp/gsttcpserversrc.c:
- portability fix, to compile on OSX
(fixes #143146)

* sys/osxaudio/gstosxaudioelement.c:
* sys/osxaudio/gstosxaudiosink.c:
* sys/osxaudio/gstosxaudiosrc.c:
- compilation warnings on OSX
(fixes #143153)

me :
* ext/vorbis/vorbisdec.c : sign warning fixes

* gst-libs/gst/mixer/mixertrack.c : forgoten include
to define newly used G_MAXINT32, bad owen, bad

ChangeLog
sys/osxaudio/gstosxaudioelement.c
sys/osxaudio/gstosxaudiosink.c
sys/osxaudio/gstosxaudiosrc.c

index 9df6e48..93b1613 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,28 @@
        Added configurable boundary specifier, added the value as a
        caps field as well.
 
+2004-06-02  Zaheer Abbas Merali <zaheerabbas@merali.org>
+
+       * gst/tcp/gsttcp.c:
+       * gst/tcp/gsttcpclientsrc.c:
+       * gst/tcp/gsttcpclientsrc.h:
+       * gst/tcp/gsttcpserversrc.c:
+         - portability fix, to compile on OSX
+            (fixes #143146)
+
+       * sys/osxaudio/gstosxaudioelement.c:
+       * sys/osxaudio/gstosxaudiosink.c:
+       * sys/osxaudio/gstosxaudiosrc.c:
+         - compilation warnings on OSX
+            (fixes #143153)
+
+2004-06-02  Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
+
+       * ext/vorbis/vorbisdec.c : sign warning fixes
+
+       * gst-libs/gst/mixer/mixertrack.c : forgoten include
+         to define newly used G_MAXINT32, bad owen, bad
+
 2004-06-01  Christophe Fergeau  <teuf@gnome.org>
 
        * ext/flac/gstflactag.c: strip ending framing bit from vorbiscomment
index 9b3fa7d..351d2c5 100644 (file)
@@ -155,7 +155,7 @@ gst_osxaudioelement_init (GstOsxAudioElement * osxaudio)
 static void
 gst_osxaudioelement_dispose (GObject * object)
 {
-  GstOsxAudioElement *osxaudio = (GstOsxAudioElement *) object;
+  /* GstOsxAudioElement *osxaudio = (GstOsxAudioElement *) object; */
 
   G_OBJECT_CLASS (parent_class)->dispose (object);
 }
@@ -269,7 +269,6 @@ outputAudioDeviceIOProc (AudioDeviceID inDevice, const AudioTimeStamp * inNow,
 static gboolean
 gst_osxaudioelement_open_audio (GstOsxAudioElement * osxaudio, gboolean input)
 {
-  gint caps;
   int i;
   OSErr status;
 
@@ -386,7 +385,6 @@ gst_osxaudioelement_get_property (GObject * object,
   OSStatus status;
   int nDevices;
   UInt32 propertySize;
-  int deviceid;
   AudioDeviceID *devids;
   int i;
 
index 75d7ee2..ac9ea01 100644 (file)
@@ -96,7 +96,7 @@ gst_osxaudiosink_get_type (void)
 static void
 gst_osxaudiosink_dispose (GObject * object)
 {
-  GstOsxAudioSink *osxaudiosink = (GstOsxAudioSink *) object;
+  /* GstOsxAudioSink *osxaudiosink = (GstOsxAudioSink *) object; */
 
   /*gst_object_unparent (GST_OBJECT (osxaudiosink->provided_clock)); */
 
@@ -158,7 +158,6 @@ gst_osxaudiosink_chain (GstPad * pad, GstData * _data)
   guchar *data;
   guint to_write;
   gint amount_written;
-  gint delay;
 
   /* this has to be an audio buffer */
   osxaudiosink = GST_OSXAUDIOSINK (gst_pad_get_parent (pad));
index 41a2a36..0edb850 100644 (file)
@@ -138,7 +138,7 @@ gst_osxaudiosrc_init (GstOsxAudioSrc * osxaudiosrc)
 static void
 gst_osxaudiosrc_dispose (GObject * object)
 {
-  GstOsxAudioSrc *osxaudiosrc = (GstOsxAudioSrc *) object;
+  /* GstOsxAudioSrc *osxaudiosrc = (GstOsxAudioSrc *) object; */
 
   G_OBJECT_CLASS (parent_class)->dispose (object);
 }
@@ -154,7 +154,8 @@ gst_osxaudiosrc_get (GstPad * pad)
 
   buf = gst_buffer_new_and_alloc ((GST_OSXAUDIOELEMENT (src))->buffer_len);
 
-  readbytes = read_buffer (src, (char *) GST_BUFFER_DATA (buf));
+  readbytes =
+      read_buffer (GST_OSXAUDIOELEMENT (src), (char *) GST_BUFFER_DATA (buf));
 
   if (readbytes < 0) {
     gst_buffer_unref (buf);