aboutsummaryrefslogtreecommitdiffstats
path: root/test/software_volume.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-21 23:01:04 +0200
committerMax Kellermann <max@duempel.org>2009-10-21 23:01:04 +0200
commit9526fdbe730edb4b095a1e12aade0e16f1da2292 (patch)
tree4544e77bf35e08a12d2b019e0bf3942754b85b96 /test/software_volume.c
parenta5c4566fa1551953b84882a1fa53400c7bd6551c (diff)
downloadmpd-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--test/software_volume.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/software_volume.c b/test/software_volume.c
index 9e8c8e7d0..5d551b1f3 100644
--- a/test/software_volume.c
+++ b/test/software_volume.c
@@ -46,7 +46,8 @@ int main(int argc, char **argv)
}
if (argc > 1) {
- ret = audio_format_parse(&audio_format, argv[1], &error);
+ ret = audio_format_parse(&audio_format, argv[1],
+ false, &error);
if (!ret) {
g_printerr("Failed to parse audio format: %s\n",
error->message);