diff options
| author | Dave Reisner <dreisner@archlinux.org> | 2013-01-02 19:11:54 -0500 |
|---|---|---|
| committer | Dave Reisner <dreisner@archlinux.org> | 2013-01-02 19:11:54 -0500 |
| commit | acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2 (patch) | |
| tree | 6b0bfe1a074b0dde03f00aa0691ecf499209152c | |
| parent | 560812acfb0441ad29b89febffdf5d016c9deff3 (diff) | |
| download | mirror-ponymix-acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2.tar.gz mirror-ponymix-acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2.tar.bz2 mirror-ponymix-acbd81fc241a400325a4e47a3f09d2f4f4d9f0d2.zip | |
whitespace police
| -rw-r--r-- | pulse.cc | 48 |
1 files changed, 24 insertions, 24 deletions
@@ -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"); } |
