output/Finish: fold into Filtered.cxx

This commit is contained in:
Max Kellermann 2023-03-07 11:54:19 +01:00
parent 5ef29c424d
commit 86ae45108c
3 changed files with 8 additions and 14 deletions

View File

@ -7,12 +7,20 @@
#include "lib/fmt/AudioFormatFormatter.hxx"
#include "lib/fmt/ExceptionFormatter.hxx"
#include "lib/fmt/RuntimeError.hxx"
#include "mixer/Control.hxx"
#include "mixer/Mixer.hxx"
#include "mixer/plugins/SoftwareMixerPlugin.hxx"
#include "filter/Prepared.hxx"
#include "filter/plugins/ConvertFilterPlugin.hxx"
#include "util/StringBuffer.hxx"
#include "Log.hxx"
FilteredAudioOutput::~FilteredAudioOutput()
{
if (mixer != nullptr)
mixer_free(mixer);
}
bool
FilteredAudioOutput::SupportsEnableDisable() const noexcept
{

View File

@ -1,13 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
#include "Filtered.hxx"
#include "Interface.hxx"
#include "mixer/Control.hxx"
#include "filter/Prepared.hxx"
FilteredAudioOutput::~FilteredAudioOutput()
{
if (mixer != nullptr)
mixer_free(mixer);
}

View File

@ -47,7 +47,6 @@ output_glue = static_library(
'State.cxx',
'Print.cxx',
'OutputCommand.cxx',
'Finish.cxx',
'Init.cxx',
include_directories: inc,
dependencies: [