MPD
0.20.6
|
Go to the source code of this file.
Enumerations | |
enum | SampleFormat : uint8_t { SampleFormat::UNDEFINED = 0, SampleFormat::S8, SampleFormat::S16, SampleFormat::S24_P32, SampleFormat::S32, SampleFormat::FLOAT, SampleFormat::DSD } |
Functions | |
static constexpr bool | audio_valid_sample_format (SampleFormat format) |
Checks whether the sample format is valid. More... | |
static constexpr unsigned | sample_format_size (SampleFormat format) |
gcc_pure gcc_malloc const char * | sample_format_to_string (SampleFormat format) |
Renders a SampleFormat enum into a string, e.g. More... | |
|
strong |
Definition at line 33 of file SampleFormat.hxx.
|
inlinestatic |
Checks whether the sample format is valid.
Definition at line 71 of file SampleFormat.hxx.
|
inlinestatic |
Definition at line 93 of file SampleFormat.hxx.
gcc_pure gcc_malloc const char* sample_format_to_string | ( | SampleFormat | format | ) |
Renders a SampleFormat enum into a string, e.g.
for printing it in a log file.
format | a SampleFormat enum value |