aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-03-09 13:50:24 +0100
committerRobert Tari <robert@tari.in>2021-08-04 21:42:10 +0200
commit81f99ed16d9234fc7c6a29d984ae43faa52dcd69 (patch)
treee669fdb8f9c80dddb477f64ae7fbc384ffa88fd6 /src
parent8df9168f5587cfd31e0bf6a4170a4c4f9784dbb7 (diff)
downloadayatana-indicator-sound-81f99ed16d9234fc7c6a29d984ae43faa52dcd69.tar.gz
ayatana-indicator-sound-81f99ed16d9234fc7c6a29d984ae43faa52dcd69.tar.bz2
ayatana-indicator-sound-81f99ed16d9234fc7c6a29d984ae43faa52dcd69.zip
Handle all switch cases
Diffstat (limited to 'src')
-rw-r--r--src/sound-menu.vala2
-rw-r--r--src/volume-control-pulse.vala5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/sound-menu.vala b/src/sound-menu.vala
index 957238c..53fcd87 100644
--- a/src/sound-menu.vala
+++ b/src/sound-menu.vala
@@ -271,6 +271,8 @@ public class SoundMenu: Object
case VolumeControl.ActiveOutput.HDMI_HEADPHONES:
label = _("Volume (HDMI headphones)");
break;
+ case VolumeControl.ActiveOutput.CALL_MODE:
+ break;
}
this.volume_section.remove (index);
this.volume_section.insert_item (index, this.create_slider_menu_item (_(label), "indicator.volume(0)", 0.0, 1.0, 0.01,
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala
index e9ee745..7789b1e 100644
--- a/src/volume-control-pulse.vala
+++ b/src/volume-control-pulse.vala
@@ -201,8 +201,13 @@ public class VolumeControlPulse : VolumeControl
this._source_sink_mic_activated = false;
this.active_mic = _external_mic_detected;
break;
+ default:
+ break;
}
break;
+
+ default:
+ break;
}
}