output/MultipleOutputs: use LoadOutputControl() in AddNullOutput()
This commit is contained in:
parent
3907ddbcc4
commit
194f733ca7
@ -126,10 +126,10 @@ MultipleOutputs::AddNullOutput(EventLoop &event_loop,
|
|||||||
ConfigBlock block;
|
ConfigBlock block;
|
||||||
block.AddBlockParam("type", "null");
|
block.AddBlockParam("type", "null");
|
||||||
|
|
||||||
auto output = LoadOutput(event_loop, replay_gain_config,
|
auto *output = LoadOutputControl(event_loop, replay_gain_config,
|
||||||
mixer_listener,
|
mixer_listener,
|
||||||
client, block);
|
client, block);
|
||||||
outputs.push_back(new AudioOutputControl(output));
|
outputs.push_back(output);
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioOutputControl *
|
AudioOutputControl *
|
||||||
|
Loading…
Reference in New Issue
Block a user