diff options
author | Max Kellermann <max@duempel.org> | 2013-01-29 17:23:58 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-29 17:23:58 +0100 |
commit | eb8922f3468fe664211911c49077a4e3442b7703 (patch) | |
tree | de04b123e392464023d50d42cd9e9464ae58ec0a /test/run_filter.c | |
parent | 84eb95466b49453b45cdfef5bed4364cf0d3a299 (diff) | |
download | mpd-eb8922f3468fe664211911c49077a4e3442b7703.tar.gz mpd-eb8922f3468fe664211911c49077a4e3442b7703.tar.xz mpd-eb8922f3468fe664211911c49077a4e3442b7703.zip |
test/{read_conf,run_filter}: convert to C++
Diffstat (limited to '')
-rw-r--r-- | test/run_filter.cxx (renamed from test/run_filter.c) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/run_filter.c b/test/run_filter.cxx index 7a4bd9d80..990a57df0 100644 --- a/test/run_filter.c +++ b/test/run_filter.cxx @@ -19,7 +19,11 @@ #include "config.h" #include "conf.h" + +extern "C" { #include "audio_parser.h" +} + #include "audio_format.h" #include "filter_plugin.h" #include "pcm_volume.h" @@ -75,7 +79,7 @@ load_filter(const char *name) param = find_named_config_block("filter", name); if (param == NULL) { g_printerr("No such configured filter: %s\n", name); - return false; + return nullptr; } filter = filter_configured_new(param, &error); |