summaryrefslogtreecommitdiffstats
path: root/sys/osxaudio
diff options
context:
space:
mode:
Diffstat (limited to 'sys/osxaudio')
-rw-r--r--sys/osxaudio/gstosxaudioelement.c4
-rw-r--r--sys/osxaudio/gstosxaudiosink.c3
-rw-r--r--sys/osxaudio/gstosxaudiosrc.c5
3 files changed, 5 insertions, 7 deletions
diff --git a/sys/osxaudio/gstosxaudioelement.c b/sys/osxaudio/gstosxaudioelement.c
index 9b3fa7d2..351d2c53 100644
--- a/sys/osxaudio/gstosxaudioelement.c
+++ b/sys/osxaudio/gstosxaudioelement.c
@@ -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;
diff --git a/sys/osxaudio/gstosxaudiosink.c b/sys/osxaudio/gstosxaudiosink.c
index 75d7ee2b..ac9ea011 100644
--- a/sys/osxaudio/gstosxaudiosink.c
+++ b/sys/osxaudio/gstosxaudiosink.c
@@ -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));
diff --git a/sys/osxaudio/gstosxaudiosrc.c b/sys/osxaudio/gstosxaudiosrc.c
index 41a2a36f..0edb8506 100644
--- a/sys/osxaudio/gstosxaudiosrc.c
+++ b/sys/osxaudio/gstosxaudiosrc.c
@@ -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);