summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/epulse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/epulse.h b/src/lib/epulse.h
index ab26165..91efe36 100644
--- a/src/lib/epulse.h
+++ b/src/lib/epulse.h
@@ -5,7 +5,7 @@
5#define PA_VOLUME_TO_INT(_vol) \ 5#define PA_VOLUME_TO_INT(_vol) \
6 ((_vol*100+PA_VOLUME_NORM/2)/PA_VOLUME_NORM) 6 ((_vol*100+PA_VOLUME_NORM/2)/PA_VOLUME_NORM)
7#define INT_TO_PA_VOLUME(_vol) \ 7#define INT_TO_PA_VOLUME(_vol) \
8 ((PA_VOLUME_NORM*_vol-PA_VOLUME_NORM/2)/100) 8 (!_vol) ? 0 : ((PA_VOLUME_NORM*_vol-PA_VOLUME_NORM/2)/100)
9 9
10typedef struct _Port Port; 10typedef struct _Port Port;
11struct _Port { 11struct _Port {