|
MPD
0.20.15
|
Parser functions for audio related objects. More...
Go to the source code of this file.
Functions | |
| AudioFormat | ParseAudioFormat (const char *src, bool mask) |
| Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an AudioFormat. More... | |
Parser functions for audio related objects.
Definition in file AudioParser.hxx.
| AudioFormat ParseAudioFormat | ( | const char * | src, |
| bool | mask | ||
| ) |
Parses a string in the form "SAMPLE_RATE:BITS:CHANNELS" into an AudioFormat.
Throws #std::runtime_error on error.
| src | the input string |
| mask | if true, then "*" is allowed for any number of items |
1.8.14