diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-01-03 20:02:12 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2013-01-03 20:02:12 -0500 |
commit | 5c7d8e7d407be9aef46ed422f51a599f56a740c7 (patch) | |
tree | bdfe9c11e58fdf869b75a384ec78280490978758 | |
parent | 8c5e1487a3423188f90ad0c3262558b42b4c80c6 (diff) | |
download | mirror-ponymix-5c7d8e7d407be9aef46ed422f51a599f56a740c7.tar.gz mirror-ponymix-5c7d8e7d407be9aef46ed422f51a599f56a740c7.tar.bz2 mirror-ponymix-5c7d8e7d407be9aef46ed422f51a599f56a740c7.zip |
80 columns!
-rw-r--r-- | ponymix.cc | 3 | ||||
-rw-r--r-- | pulse.cc | 3 | ||||
-rw-r--r-- | pulse.h | 12 |
3 files changed, 12 insertions, 6 deletions
@@ -527,7 +527,8 @@ static void usage() { fputs("\nCard Commands:\n" " list-profiles list available profiles for a card\n" - " list-profiles-short list available profiles for a card (short form)\n" + " list-profiles-short list available profiles for a card" + "(short form)\n" " get-profile get active profile for card\n" " set-profile PROFILE set profile for a card\n", stdout); @@ -166,7 +166,8 @@ Card* PulseClient::GetCard(const Device& device) { return nullptr; } -Device* PulseClient::get_device(vector<Device>& devices, const uint32_t& index) { +Device* PulseClient::get_device(vector<Device>& devices, + const uint32_t& index) { for (Device& device : devices) { if (device.index_ == index) return &device; } @@ -32,11 +32,15 @@ struct Profile { }; struct Operations { - pa_operation* (*Mute)(pa_context*, uint32_t, int, pa_context_success_cb_t, void*); - pa_operation* (*SetVolume)(pa_context*, uint32_t, const pa_cvolume*, pa_context_success_cb_t, void*); - pa_operation* (*SetDefault)(pa_context*, const char*, pa_context_success_cb_t, void*); + pa_operation* (*Mute)(pa_context*, uint32_t, int, pa_context_success_cb_t, + void*); + pa_operation* (*SetVolume)(pa_context*, uint32_t, const pa_cvolume*, + pa_context_success_cb_t, void*); + pa_operation* (*SetDefault)(pa_context*, const char*, pa_context_success_cb_t, + void*); pa_operation* (*Kill)(pa_context*, uint32_t, pa_context_success_cb_t, void*); - pa_operation* (*Move)(pa_context *, uint32_t, uint32_t, pa_context_success_cb_t, void *); + pa_operation* (*Move)(pa_context *, uint32_t, uint32_t, + pa_context_success_cb_t, void *); }; class Device { |