command/partition: don't create null output in new partitions
No output at all is fine. If the partition needs an output, it must be moved there, but having just a null output isn't helpful.
This commit is contained in:
@@ -117,21 +117,6 @@ MultipleOutputs::Configure(EventLoop &event_loop,
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
MultipleOutputs::AddNullOutput(EventLoop &event_loop,
|
||||
const ReplayGainConfig &replay_gain_config)
|
||||
{
|
||||
const AudioOutputDefaults defaults;
|
||||
|
||||
ConfigBlock block;
|
||||
block.AddBlockParam("type", "null");
|
||||
|
||||
outputs.emplace_back(LoadOutputControl(event_loop, replay_gain_config,
|
||||
mixer_listener,
|
||||
client, block, defaults,
|
||||
nullptr));
|
||||
}
|
||||
|
||||
AudioOutputControl *
|
||||
MultipleOutputs::FindByName(const char *name) noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user