aboutsummaryrefslogtreecommitdiffstats
path: root/src/replay_gain.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/replay_gain.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/replay_gain.h b/src/replay_gain.h
index 9dae1fb1b..d3fae3f46 100644
--- a/src/replay_gain.h
+++ b/src/replay_gain.h
@@ -20,13 +20,15 @@
#ifndef MPD_REPLAY_GAIN_H
#define MPD_REPLAY_GAIN_H
-#define REPLAY_GAIN_OFF 0
-#define REPLAY_GAIN_TRACK 1
-#define REPLAY_GAIN_ALBUM 2
+enum replay_gain_mode {
+ REPLAY_GAIN_OFF = -1,
+ REPLAY_GAIN_ALBUM,
+ REPLAY_GAIN_TRACK,
+};
struct audio_format;
-extern int replay_gain_mode;
+extern enum replay_gain_mode replay_gain_mode;
struct replay_gain_info {
float album_gain;