output/Filtered: eliminate FinishDestroy()
This is implicitly done by the destructor.
This commit is contained in:
parent
9f8649884b
commit
7e4e32cfe0
|
@ -377,7 +377,6 @@ AudioOutputControl::FinishDestroy() noexcept
|
|||
if (thread.IsDefined())
|
||||
thread.Join();
|
||||
|
||||
output->FinishDestroy();
|
||||
delete output;
|
||||
output = nullptr;
|
||||
}
|
||||
|
|
|
@ -142,7 +142,6 @@ public:
|
|||
const ConfigBlock &block);
|
||||
|
||||
void BeginDestroy() noexcept;
|
||||
void FinishDestroy() noexcept;
|
||||
|
||||
const char *GetName() const {
|
||||
return name;
|
||||
|
|
|
@ -35,9 +35,3 @@ FilteredAudioOutput::BeginDestroy() noexcept
|
|||
if (mixer != nullptr)
|
||||
mixer_auto_close(mixer);
|
||||
}
|
||||
|
||||
void
|
||||
FilteredAudioOutput::FinishDestroy() noexcept
|
||||
{
|
||||
output.reset();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue