aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-03 20:02:12 -0500
committerDave Reisner <dreisner@archlinux.org>2013-01-03 20:02:12 -0500
commit5c7d8e7d407be9aef46ed422f51a599f56a740c7 (patch)
treebdfe9c11e58fdf869b75a384ec78280490978758
parent8c5e1487a3423188f90ad0c3262558b42b4c80c6 (diff)
downloadmirror-ponymix-5c7d8e7d407be9aef46ed422f51a599f56a740c7.tar.gz
mirror-ponymix-5c7d8e7d407be9aef46ed422f51a599f56a740c7.tar.bz2
mirror-ponymix-5c7d8e7d407be9aef46ed422f51a599f56a740c7.zip
80 columns!
-rw-r--r--ponymix.cc3
-rw-r--r--pulse.cc3
-rw-r--r--pulse.h12
3 files changed, 12 insertions, 6 deletions
diff --git a/ponymix.cc b/ponymix.cc
index fc20315..7e1fb17 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -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);
diff --git a/pulse.cc b/pulse.cc
index 0488717..3a248de 100644
--- a/pulse.cc
+++ b/pulse.cc
@@ -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;
}
diff --git a/pulse.h b/pulse.h
index 2c010b2..a19ce0b 100644
--- a/pulse.h
+++ b/pulse.h
@@ -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 {