From efea609dc328a0a17bdec11586bb54041981ff62 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Jan 2015 19:15:51 +0100 Subject: [PATCH] output/pulse: convert to class --- src/output/plugins/PulseOutputPlugin.cxx | 4 +++- src/output/plugins/PulseOutputPlugin.hxx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/output/plugins/PulseOutputPlugin.cxx b/src/output/plugins/PulseOutputPlugin.cxx index ae88d2134..158b36dfd 100644 --- a/src/output/plugins/PulseOutputPlugin.cxx +++ b/src/output/plugins/PulseOutputPlugin.cxx @@ -42,7 +42,9 @@ #define MPD_PULSE_NAME "Music Player Daemon" -struct PulseOutput { +class PulseOutput { + friend struct AudioOutputWrapper; + AudioOutput base; const char *name; diff --git a/src/output/plugins/PulseOutputPlugin.hxx b/src/output/plugins/PulseOutputPlugin.hxx index 33f02e1a8..f193db1d8 100644 --- a/src/output/plugins/PulseOutputPlugin.hxx +++ b/src/output/plugins/PulseOutputPlugin.hxx @@ -20,7 +20,7 @@ #ifndef MPD_PULSE_OUTPUT_PLUGIN_HXX #define MPD_PULSE_OUTPUT_PLUGIN_HXX -struct PulseOutput; +class PulseOutput; class PulseMixer; struct pa_cvolume; class Error;