aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-05-10 11:55:14 -0400
committerDave Reisner <dreisner@archlinux.org>2012-05-10 11:55:14 -0400
commitd3417a51c18494cef30f15eb9264895192270dda (patch)
tree615de1883031d36fcb8f5fc92b37395e255ee064
parent71254498cd4eb4c5fe4cfd9becfdaa642eb442a0 (diff)
downloadmirror-ponymix-d3417a51c18494cef30f15eb9264895192270dda.tar.gz
mirror-ponymix-d3417a51c18494cef30f15eb9264895192270dda.tar.bz2
mirror-ponymix-d3417a51c18494cef30f15eb9264895192270dda.zip
use int for mute to mimic PA API (what a waste)
-rw-r--r--pulsemix.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pulsemix.c b/pulsemix.c
index ecf513b..8f7fe24 100644
--- a/pulsemix.c
+++ b/pulsemix.c
@@ -29,7 +29,6 @@
#include <err.h>
#include <getopt.h>
#include <math.h>
-#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
@@ -69,7 +68,7 @@ struct sink_t {
const char *desc;
pa_cvolume volume;
int volume_percent;
- bool mute;
+ int mute;
struct sink_t *next_sink;
};