Commit efea609d authored by Max Kellermann's avatar Max Kellermann

output/pulse: convert to class

parent f3a16003
...@@ -42,7 +42,9 @@ ...@@ -42,7 +42,9 @@
#define MPD_PULSE_NAME "Music Player Daemon" #define MPD_PULSE_NAME "Music Player Daemon"
struct PulseOutput { class PulseOutput {
friend struct AudioOutputWrapper<PulseOutput>;
AudioOutput base; AudioOutput base;
const char *name; const char *name;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef MPD_PULSE_OUTPUT_PLUGIN_HXX #ifndef MPD_PULSE_OUTPUT_PLUGIN_HXX
#define MPD_PULSE_OUTPUT_PLUGIN_HXX #define MPD_PULSE_OUTPUT_PLUGIN_HXX
struct PulseOutput; class PulseOutput;
class PulseMixer; class PulseMixer;
struct pa_cvolume; struct pa_cvolume;
class Error; class Error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment