MPD: ReplayGainMode.hxx File Reference

MPD 0.20.15

Enumerations | Functions
ReplayGainMode.hxx File Reference
`#include "Compiler.h"`
`#include <stdint.h>`
Include dependency graph for ReplayGainMode.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Enumerations
enum | ReplayGainMode : uint8_t { ReplayGainMode::OFF, ReplayGainMode::ALBUM, ReplayGainMode::TRACK, ReplayGainMode::AUTO }

## Functions
gcc_pure const char * | ToString (ReplayGainMode mode) noexcept
| Return the string representation of a ReplayGainMode. More...
ReplayGainMode | FromString (const char *s)
| Parse a string to a ReplayGainMode. More...

## Enumeration Type Documentation

## ◆ ReplayGainMode

enum ReplayGainMode : uint8_t
| strong

Enumerator
OFF |
ALBUM |
TRACK |
AUTO |

Definition at line 27 of file ReplayGainMode.hxx.

## Function Documentation

## ◆ FromString()

ReplayGainMode FromString | ( | const char * | s | ) |

Parse a string to a ReplayGainMode.

Throws std::runtime_error on error.

## ◆ ToString()

gcc_pure const char* ToString | ( | ReplayGainMode | mode | ) |
| noexcept

Return the string representation of a ReplayGainMode.