diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/DumpDatabase.cxx | 3 | ||||
-rw-r--r-- | test/run_encoder.cxx | 2 | ||||
-rw-r--r-- | test/test_vorbis_encoder.cxx | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/test/DumpDatabase.cxx b/test/DumpDatabase.cxx index 172d00491..ba0e74e43 100644 --- a/test/DumpDatabase.cxx +++ b/test/DumpDatabase.cxx @@ -108,8 +108,7 @@ main(int argc, char **argv) const struct config_param *path = config_get_param(CONF_DB_FILE); config_param param("database", path->line); if (path != nullptr) - config_add_block_param(¶m, "path", path->value, - path->line); + param.AddBlockParam("path", path->value, path->line); Database *db = plugin->create(¶m, &error); diff --git a/test/run_encoder.cxx b/test/run_encoder.cxx index e2ecab583..9039f2db5 100644 --- a/test/run_encoder.cxx +++ b/test/run_encoder.cxx @@ -74,7 +74,7 @@ int main(int argc, char **argv) } config_param param; - config_add_block_param(¶m, "quality", "5.0", -1); + param.AddBlockParam("quality", "5.0", -1); encoder = encoder_init(plugin, ¶m, &error); if (encoder == NULL) { diff --git a/test/test_vorbis_encoder.cxx b/test/test_vorbis_encoder.cxx index aad48acde..0e502b154 100644 --- a/test/test_vorbis_encoder.cxx +++ b/test/test_vorbis_encoder.cxx @@ -54,7 +54,7 @@ main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) assert(plugin != NULL); config_param param; - config_add_block_param(¶m, "quality", "5.0", -1); + param.AddBlockParam("quality", "5.0", -1); struct encoder *encoder = encoder_init(plugin, ¶m, NULL); assert(encoder != NULL); |