aboutsummaryrefslogtreecommitdiffstats
path: root/src/volume.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/volume.h')
-rw-r--r--src/volume.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/volume.h b/src/volume.h
index 99d31da4e..0db231ef6 100644
--- a/src/volume.h
+++ b/src/volume.h
@@ -23,21 +23,16 @@
#include <stdbool.h>
#include <stdio.h>
-#define VOLUME_MIXER_OSS "oss"
-#define VOLUME_MIXER_ALSA "alsa"
-#define VOLUME_MIXER_SOFTWARE "software"
-#define VOLUME_MIXER_HARDWARE "hardware"
-#define VOLUME_MIXER_DISABLED "disabled"
-
void volume_init(void);
void volume_finish(void);
int volume_level_get(void);
-bool volume_level_change(int change, bool rel);
+bool volume_level_change(unsigned volume);
-void read_sw_volume_state(FILE *fp);
+bool
+read_sw_volume_state(const char *line);
void save_sw_volume_state(FILE *fp);