mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
parent
ac48c2d211
commit
4a74e341ec
2 changed files with 0 additions and 9 deletions
|
@ -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];
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue