output/MultipleOutputs: use LoadOutputControl() in AddNullOutput()

This commit is contained in:
Max Kellermann 2017-05-23 00:31:31 +02:00
parent 3907ddbcc4
commit 194f733ca7

View File

@ -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 *