summaryrefslogtreecommitdiff
path: root/src/output/Finish.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2017-08-07 21:55:29 +0200
committerMax Kellermann <max@musicpd.org>2017-08-08 18:58:40 +0200
commitbea5681fd8adbc3536ee82b031970e7861ab90f9 (patch)
tree108e44153acd32466331b68eccb973b0bc745af5 /src/output/Finish.cxx
parente11229494ed03e48af20ef9bdffcd0e8798a689a (diff)
output/Interface: define a new struct AudioOutput
Hide struct FilteredAudioOutput from the plugins, preparing for hiding MPD's core internals.
Diffstat (limited to 'src/output/Finish.cxx')
-rw-r--r--src/output/Finish.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/Finish.cxx b/src/output/Finish.cxx
index b5729fd29..9db4d50fe 100644
--- a/src/output/Finish.cxx
+++ b/src/output/Finish.cxx
@@ -31,6 +31,8 @@ FilteredAudioOutput::~FilteredAudioOutput()
delete prepared_replay_gain_filter;
delete prepared_other_replay_gain_filter;
delete prepared_filter;
+
+ ao_plugin_finish(output);
}
void
@@ -43,5 +45,5 @@ FilteredAudioOutput::BeginDestroy() noexcept
void
FilteredAudioOutput::FinishDestroy() noexcept
{
- ao_plugin_finish(this);
+ ao_plugin_finish(output);
}