aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer/MixerType.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/mixer/MixerType.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mixer/MixerType.hxx b/src/mixer/MixerType.hxx
index a5e635e06..9831e3db6 100644
--- a/src/mixer/MixerType.hxx
+++ b/src/mixer/MixerType.hxx
@@ -20,26 +20,26 @@
#ifndef MPD_MIXER_TYPE_HXX
#define MPD_MIXER_TYPE_HXX
-enum MixerType {
+enum class MixerType {
/** parser error */
- MIXER_TYPE_UNKNOWN,
+ UNKNOWN,
/** mixer disabled */
- MIXER_TYPE_NONE,
+ NONE,
/** software mixer with pcm_volume() */
- MIXER_TYPE_SOFTWARE,
+ SOFTWARE,
/** hardware mixer (output's plugin) */
- MIXER_TYPE_HARDWARE,
+ HARDWARE,
};
/**
* Parses a #MixerType setting from the configuration file.
*
- * @param input the configured string value; must not be NULL
- * @return a #MixerType value; MIXER_TYPE_UNKNOWN means #input could
- * not be parsed
+ * @param input the configured string value; must not be NULL @return
+ * a #MixerType value; #MixerType::UNKNOWN means #input could not be
+ * parsed
*/
MixerType
mixer_type_parse(const char *input);