aboutsummaryrefslogtreecommitdiffstats
path: root/pulse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'pulse.cc')
-rw-r--r--pulse.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/pulse.cc b/pulse.cc
index 40234d9..1253c2d 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -192,7 +192,6 @@ Device* PulseClient::GetDevice(const uint32_t index, enum DeviceType type) {
case DEVTYPE_SOURCE_OUTPUT:
return GetSourceOutput(index);
}
- throw std::runtime_error("Impossible DeviceType encountered in GetDevice");
}
Device* PulseClient::GetDevice(const string& name, enum DeviceType type) {
@@ -206,7 +205,6 @@ Device* PulseClient::GetDevice(const string& name, enum DeviceType type) {
case DEVTYPE_SOURCE_OUTPUT:
return GetSourceOutput(name);
}
- throw std::runtime_error("Impossible DeviceType encountered in GetDevice");
}
const vector<Device>& PulseClient::GetDevices(enum DeviceType type) const {
@@ -220,7 +218,6 @@ const vector<Device>& PulseClient::GetDevices(enum DeviceType type) const {
case DEVTYPE_SOURCE_OUTPUT:
return GetSourceOutputs();
}
- throw std::runtime_error("Impossible DeviceType encountered in GetDevices");
}
Device* PulseClient::GetSink(const uint32_t index) {