From 194f733ca74cf5987aa783f165499ded9c56ce88 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 23 May 2017 00:31:31 +0200 Subject: [PATCH] output/MultipleOutputs: use LoadOutputControl() in AddNullOutput() --- src/output/MultipleOutputs.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/output/MultipleOutputs.cxx b/src/output/MultipleOutputs.cxx index ee3e3aef1..986510f7f 100644 --- a/src/output/MultipleOutputs.cxx +++ b/src/output/MultipleOutputs.cxx @@ -126,10 +126,10 @@ MultipleOutputs::AddNullOutput(EventLoop &event_loop, ConfigBlock block; block.AddBlockParam("type", "null"); - auto output = LoadOutput(event_loop, replay_gain_config, - mixer_listener, - client, block); - outputs.push_back(new AudioOutputControl(output)); + auto *output = LoadOutputControl(event_loop, replay_gain_config, + mixer_listener, + client, block); + outputs.push_back(output); } AudioOutputControl *