summaryrefslogtreecommitdiffstats
path: root/sys/sunaudio/gstsunmixer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sunaudio/gstsunmixer.c')
-rw-r--r--sys/sunaudio/gstsunmixer.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/sunaudio/gstsunmixer.c b/sys/sunaudio/gstsunmixer.c
index f79b7725..6f0db25e 100644
--- a/sys/sunaudio/gstsunmixer.c
+++ b/sys/sunaudio/gstsunmixer.c
@@ -130,8 +130,7 @@ fill_labels (void)
{
gchar *given, *wanted;
}
- cases[] =
- {
+ cases[] = {
{
"Vol ", N_("Volume")}
, {
@@ -279,13 +278,10 @@ gst_sunaudiomixer_set_mute (GstMixer * mixer,
return;
AUDIO_INITINFO (&audioinfo);
- ioctl (sunaudio->mixer_fd, AUDIO_GETINFO, &audioinfo);
if (mute) {
- audioinfo.play.port = audioinfo.play.avail_ports;
audioinfo.output_muted = 1;
} else {
- audioinfo.play.port = 0;
audioinfo.output_muted = 0;
}