output/Interface: define a new struct AudioOutput

Hide struct FilteredAudioOutput from the plugins, preparing for hiding
MPD's core internals.
This commit is contained in:
Max Kellermann
2017-08-07 21:55:29 +02:00
parent e11229494e
commit bea5681fd8
31 changed files with 228 additions and 178 deletions
+2 -2
View File
@@ -26,7 +26,7 @@
class NullOutput {
friend struct AudioOutputWrapper<NullOutput>;
FilteredAudioOutput base;
AudioOutput base;
const bool sync;
@@ -34,7 +34,7 @@ class NullOutput {
public:
NullOutput(const ConfigBlock &block)
:base(null_output_plugin, block),
:base(null_output_plugin),
sync(block.GetBlockValue("sync", true)) {}
static NullOutput *Create(EventLoop &event_loop,