From 8d2ef5f99b2ebc08a0a9d1f26492094692b1fc6b Mon Sep 17 00:00:00 2001 From: Watcom Date: Wed, 14 Sep 2016 04:26:45 -0300 Subject: pulse device may be specified by name (#126) (#162) --- include/i3status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3