MPD: mixer/MixerType.hxx File Reference

MPD 0.20.18

Enumerations | Functions
MixerType.hxx File Reference
`#include "Compiler.h"`
Include dependency graph for MixerType.hxx:

Go to the source code of this file.

## Enumerations
enum | MixerType { MixerType::UNKNOWN, MixerType::NONE, MixerType::NULL_, MixerType::SOFTWARE, MixerType::HARDWARE }

## Functions
gcc_pure MixerType | mixer_type_parse (const char *input) noexcept
| Parses a MixerType setting from the configuration file. More...

## Enumeration Type Documentation

## ◆ MixerType

enum MixerType
| strong

Enumerator
UNKNOWN | parser error
NONE | mixer disabled
NULL_ | "null" mixer (virtual fake)
SOFTWARE | software mixer with pcm_volume()
HARDWARE | hardware mixer (output's plugin)

Definition at line 25 of file MixerType.hxx.

## Function Documentation

## ◆ mixer_type_parse()

gcc_pure MixerType mixer_type_parse | ( | const char * | input | ) |
| noexcept

Parses a MixerType setting from the configuration file.

Parameters

  input | the configured string value; must not be NULL

Returns
  a MixerType value; MixerType::UNKNOWN means #input could not be parsed