aboutsummaryrefslogtreecommitdiffstats
path: root/src/ReplayGainConfig.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-25 18:37:13 +0200
committerMax Kellermann <max@duempel.org>2013-10-25 19:12:29 +0200
commited7891bf014c5085240361d605a0eaf24f74e7df (patch)
treeb747a128228ad5440cb5f1e10bb771e047bcafc2 /src/ReplayGainConfig.hxx
parente17da71a704759316912d4f2b7eb46d95a828798 (diff)
downloadmpd-ed7891bf014c5085240361d605a0eaf24f74e7df.tar.gz
mpd-ed7891bf014c5085240361d605a0eaf24f74e7df.tar.xz
mpd-ed7891bf014c5085240361d605a0eaf24f74e7df.zip
ReplayGainConfig: add "pure" attributes
Diffstat (limited to '')
-rw-r--r--src/ReplayGainConfig.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ReplayGainConfig.hxx b/src/ReplayGainConfig.hxx
index 5b81d1cc1..79f1b23f0 100644
--- a/src/ReplayGainConfig.hxx
+++ b/src/ReplayGainConfig.hxx
@@ -22,6 +22,7 @@
#include "check.h"
#include "ReplayGainInfo.hxx"
+#include "Compiler.h"
extern enum replay_gain_mode replay_gain_mode;
extern float replay_gain_preamp;
@@ -33,6 +34,7 @@ void replay_gain_global_init(void);
/**
* Returns the current replay gain mode as a machine-readable string.
*/
+gcc_pure
const char *
replay_gain_get_mode_string(void);
@@ -47,6 +49,7 @@ replay_gain_set_mode_string(const char *p);
/**
* Returns the "real" mode according to the "auto" setting"
*/
+gcc_pure
enum replay_gain_mode
replay_gain_get_real_mode(bool random_mode);