aboutsummaryrefslogtreecommitdiffstats
path: root/pulse.cc
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-02 19:11:54 -0500
committerDave Reisner <dreisner@archlinux.org>2013-01-02 19:11:54 -0500
commitacbd81fc241a400325a4e47a3f09d2f4f4d9f0d2 (patch)
tree6b0bfe1a074b0dde03f00aa0691ecf499209152c /pulse.cc
parent560812acfb0441ad29b89febffdf5d016c9deff3 (diff)
downloadmirror-ponymix-acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2.tar.gz
mirror-ponymix-acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2.tar.bz2
mirror-ponymix-acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2.zip
whitespace police
Diffstat (limited to 'pulse.cc')
-rw-r--r--pulse.cc48
1 files changed, 24 insertions, 24 deletions
diff --git a/pulse.cc b/pulse.cc
index 7fc1bd1..edd0449 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -182,42 +182,42 @@ Device* PulseClient::get_device(vector<Device>& devices, const string& name) {
Device* PulseClient::GetDevice(const uint32_t& index, enum DeviceType type) {
switch (type) {
- case DEVTYPE_SINK:
- return GetSink(index);
- case DEVTYPE_SOURCE:
- return GetSource(index);
- case DEVTYPE_SINK_INPUT:
- return GetSinkInput(index);
- case DEVTYPE_SOURCE_OUTPUT:
- return GetSourceOutput(index);
+ case DEVTYPE_SINK:
+ return GetSink(index);
+ case DEVTYPE_SOURCE:
+ return GetSource(index);
+ case DEVTYPE_SINK_INPUT:
+ return GetSinkInput(index);
+ 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) {
switch (type) {
- case DEVTYPE_SINK:
- return GetSink(name);
- case DEVTYPE_SOURCE:
- return GetSource(name);
- case DEVTYPE_SINK_INPUT:
- return GetSinkInput(name);
- case DEVTYPE_SOURCE_OUTPUT:
- return GetSourceOutput(name);
+ case DEVTYPE_SINK:
+ return GetSink(name);
+ case DEVTYPE_SOURCE:
+ return GetSource(name);
+ case DEVTYPE_SINK_INPUT:
+ return GetSinkInput(name);
+ 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 {
switch (type) {
- case DEVTYPE_SINK:
- return GetSinks();
- case DEVTYPE_SOURCE:
- return GetSources();
- case DEVTYPE_SINK_INPUT:
- return GetSinkInputs();
- case DEVTYPE_SOURCE_OUTPUT:
- return GetSourceOutputs();
+ case DEVTYPE_SINK:
+ return GetSinks();
+ case DEVTYPE_SOURCE:
+ return GetSources();
+ case DEVTYPE_SINK_INPUT:
+ return GetSinkInputs();
+ case DEVTYPE_SOURCE_OUTPUT:
+ return GetSourceOutputs();
}
throw std::runtime_error("Impossible DeviceType encountered in GetDevices");
}