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 /test | |
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 'test')
-rw-r--r-- | test/run_encoder.c | 3 | ||||
-rw-r--r-- | test/run_filter.c | 3 | ||||
-rw-r--r-- | test/run_output.c | 3 | ||||
-rw-r--r-- | test/software_volume.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/test/run_encoder.c b/test/run_encoder.c index 787fb03cf..b953bcd9a 100644 --- a/test/run_encoder.c +++ b/test/run_encoder.c @@ -86,7 +86,8 @@ int main(int argc, char **argv) /* open the encoder */ if (argc > 2) { - ret = audio_format_parse(&audio_format, argv[2], &error); + ret = audio_format_parse(&audio_format, argv[2], + false, &error); if (!ret) { g_printerr("Failed to parse audio format: %s\n", error->message); diff --git a/test/run_filter.c b/test/run_filter.c index ed2b904cf..3c4b76125 100644 --- a/test/run_filter.c +++ b/test/run_filter.c @@ -100,7 +100,8 @@ int main(int argc, char **argv) /* parse the audio format */ if (argc > 3) { - success = audio_format_parse(&audio_format, argv[3], &error); + success = audio_format_parse(&audio_format, argv[3], + false, &error); if (!success) { g_printerr("Failed to parse audio format: %s\n", error->message); diff --git a/test/run_output.c b/test/run_output.c index 3731b6c09..238e16e5a 100644 --- a/test/run_output.c +++ b/test/run_output.c @@ -143,7 +143,8 @@ int main(int argc, char **argv) /* parse the audio format */ if (argc > 3) { - success = audio_format_parse(&audio_format, argv[3], &error); + success = audio_format_parse(&audio_format, argv[3], + false, &error); if (!success) { g_printerr("Failed to parse audio format: %s\n", error->message); 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); |