diff options
author | Watcom <watcom.hecht@gmail.com> | 2016-09-14 04:26:45 -0300 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2016-09-14 09:26:45 +0200 |
commit | 8d2ef5f99b2ebc08a0a9d1f26492094692b1fc6b (patch) | |
tree | f264785b909bf2b1b9dc9c53f03dcd8126786920 /include/i3status.h | |
parent | 48e10658b46e07b89ee7074af1a56bdc61656f05 (diff) |
pulse device may be specified by name (#126) (#162)
Diffstat (limited to 'include/i3status.h')
-rw-r--r-- | include/i3status.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h index 3911e04..dd0ba02 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -217,7 +217,7 @@ void print_eth_info(yajl_gen json_gen, char *buffer, const char *interface, cons void print_load(yajl_gen json_gen, char *buffer, const char *format, const float max_threshold); void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *fmt_muted, const char *device, const char *mixer, int mixer_idx); bool process_runs(const char *path); -int volume_pulseaudio(uint32_t sink_idx); +int volume_pulseaudio(uint32_t sink_idx, const char *sink_name); bool pulse_initialize(void); /* socket file descriptor for general purposes */ |