diff options
author | Max Kellermann <max@duempel.org> | 2009-10-21 23:01:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-21 23:01:04 +0200 |
commit | 9526fdbe730edb4b095a1e12aade0e16f1da2292 (patch) | |
tree | 4544e77bf35e08a12d2b019e0bf3942754b85b96 /src/audio_parser.h | |
parent | a5c4566fa1551953b84882a1fa53400c7bd6551c (diff) | |
download | mpd-9526fdbe730edb4b095a1e12aade0e16f1da2292.tar.gz mpd-9526fdbe730edb4b095a1e12aade0e16f1da2292.tar.xz mpd-9526fdbe730edb4b095a1e12aade0e16f1da2292.zip |
audio_format: wildcards allowed in audio_format configuration
An asterisk means that this attribute should not be enforced, and
stays whatever it used to be. This way, some configuration values
work like masks.
Diffstat (limited to '')
-rw-r--r-- | src/audio_parser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio_parser.h b/src/audio_parser.h index 1d821eaf5..d50c17489 100644 --- a/src/audio_parser.h +++ b/src/audio_parser.h @@ -37,12 +37,13 @@ struct audio_format; * * @param dest the destination #audio_format struct * @param src the input string + * @param mask if true, then "*" is allowed for any number of items * @param error_r location to store the error occuring, or NULL to * ignore errors * @return true on success */ bool audio_format_parse(struct audio_format *dest, const char *src, - GError **error_r); + bool mask, GError **error_r); #endif |