MixerType: rename to CamelCase
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
enum mixer_type
|
MixerType
|
||||||
mixer_type_parse(const char *input)
|
mixer_type_parse(const char *input)
|
||||||
{
|
{
|
||||||
assert(input != NULL);
|
assert(input != NULL);
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
#ifndef MPD_MIXER_TYPE_HXX
|
#ifndef MPD_MIXER_TYPE_HXX
|
||||||
#define MPD_MIXER_TYPE_HXX
|
#define MPD_MIXER_TYPE_HXX
|
||||||
|
|
||||||
enum mixer_type {
|
enum MixerType {
|
||||||
/** parser error */
|
/** parser error */
|
||||||
MIXER_TYPE_UNKNOWN,
|
MIXER_TYPE_UNKNOWN,
|
||||||
|
|
||||||
@@ -35,13 +35,13 @@ enum mixer_type {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Parses a "mixer_type" setting from the configuration file.
|
* Parses a #MixerType setting from the configuration file.
|
||||||
*
|
*
|
||||||
* @param input the configured string value; must not be NULL
|
* @param input the configured string value; must not be NULL
|
||||||
* @return a #mixer_type value; MIXER_TYPE_UNKNOWN means #input could
|
* @return a #MixerType value; MIXER_TYPE_UNKNOWN means #input could
|
||||||
* not be parsed
|
* not be parsed
|
||||||
*/
|
*/
|
||||||
enum mixer_type
|
MixerType
|
||||||
mixer_type_parse(const char *input);
|
mixer_type_parse(const char *input);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -93,7 +93,7 @@ audio_output_detect(Error &error)
|
|||||||
* mixer_enabled, if the mixer_type setting is not configured.
|
* mixer_enabled, if the mixer_type setting is not configured.
|
||||||
*/
|
*/
|
||||||
gcc_pure
|
gcc_pure
|
||||||
static enum mixer_type
|
static MixerType
|
||||||
audio_output_mixer_type(const config_param ¶m)
|
audio_output_mixer_type(const config_param ¶m)
|
||||||
{
|
{
|
||||||
/* read the local "mixer_type" setting */
|
/* read the local "mixer_type" setting */
|
||||||
|
Reference in New Issue
Block a user