diff options
author | James Andrewartha <trs80@ucc.gu.uwa.edu.au> | 2009-04-15 19:28:53 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-04-15 19:30:11 +0100 |
commit | 4a74e341ecc7369c3c48b653e753a28b6c20eb64 (patch) | |
tree | 60fc5fa3d6dc53128fa879f5a6e0ad9b7584ba61 /sys | |
parent | ac48c2d211f6bb016f3fe7e4b6fb332f9c5e1132 (diff) |
sunaudio: remove some unused variables and goto labels
Fixes #579070.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sunaudio/gstsunaudiomixerctrl.c | 4 | ||||
-rw-r--r-- | sys/sunaudio/gstsunaudiosink.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/sys/sunaudio/gstsunaudiomixerctrl.c b/sys/sunaudio/gstsunaudiomixerctrl.c index 58978202..3ad33ade 100644 --- a/sys/sunaudio/gstsunaudiomixerctrl.c +++ b/sys/sunaudio/gstsunaudiomixerctrl.c @@ -273,14 +273,10 @@ gst_sunaudiomixer_ctrl_set_volume (GstSunAudioMixerCtrl * mixer, float ratio; - gchar buf[100]; - struct audio_info audioinfo; GstSunAudioMixerTrack *sunaudiotrack = GST_SUNAUDIO_MIXER_TRACK (track); - gint temp[2]; - l_real_gain = volumes[0]; r_real_gain = volumes[1]; diff --git a/sys/sunaudio/gstsunaudiosink.c b/sys/sunaudio/gstsunaudiosink.c index 8bf129eb..2dd56c27 100644 --- a/sys/sunaudio/gstsunaudiosink.c +++ b/sys/sunaudio/gstsunaudiosink.c @@ -203,7 +203,6 @@ gst_sunaudiosink_class_init (GstSunAudioSinkClass * klass) static void gst_sunaudiosink_init (GstSunAudioSink * sunaudiosink) { - GstBaseAudioSink *ba_sink = GST_BASE_AUDIO_SINK (sunaudiosink); const char *audiodev; GST_DEBUG_OBJECT (sunaudiosink, "initializing sunaudiosink"); @@ -509,10 +508,6 @@ write_error: GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, (NULL), ("Playback error on device '%s': %s", sink->device, strerror (errno))); return; -poll_failed: - GST_ELEMENT_ERROR (sink, RESOURCE, OPEN_WRITE, (NULL), - ("Playback error on device '%s': %s", sink->device, strerror (errno))); - return; } static guint |