sunaudio: remove some unused variables and goto labels

Fixes #579070.
This commit is contained in:
James Andrewartha 2009-04-15 19:28:53 +01:00 committed by Tim-Philipp Müller
parent ac48c2d211
commit 4a74e341ec
2 changed files with 0 additions and 9 deletions

View file

@ -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];

View file

@ -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