Commit 9af73dad authored by Max Kellermann's avatar Max Kellermann

output/Multiple: remove unused method Add()

parent f0d66bf6
......@@ -130,19 +130,6 @@ MultipleOutputs::FindByName(const char *name) noexcept
}
void
MultipleOutputs::Add(std::unique_ptr<FilteredAudioOutput> output,
bool enable) noexcept
{
// TODO: this operation needs to be protected with a mutex
outputs.push_back(std::make_unique<AudioOutputControl>(std::move(output),
client));
outputs.back()->LockSetEnabled(enable);
client.ApplyEnabled();
}
void
MultipleOutputs::AddMoveFrom(AudioOutputControl &&src,
bool enable) noexcept
{
......
......@@ -125,9 +125,6 @@ public:
return FindByName(name) != nullptr;
}
void Add(std::unique_ptr<FilteredAudioOutput> output,
bool enable) noexcept;
void AddMoveFrom(AudioOutputControl &&src,
bool enable) noexcept;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment