summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/output/plugins/AlsaOutputPlugin.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/output/plugins/AlsaOutputPlugin.cxx b/src/output/plugins/AlsaOutputPlugin.cxx
index 466449721..b9878bfed 100644
--- a/src/output/plugins/AlsaOutputPlugin.cxx
+++ b/src/output/plugins/AlsaOutputPlugin.cxx
@@ -50,7 +50,9 @@ static constexpr unsigned MPD_ALSA_BUFFER_TIME_US = 500000;
static constexpr unsigned MPD_ALSA_RETRY_NR = 5;
-struct AlsaOutput {
+class AlsaOutput {
+ friend struct AudioOutputWrapper<AlsaOutput>;
+
AudioOutput base;
Manual<PcmExport> pcm_export;
@@ -121,6 +123,7 @@ struct AlsaOutput {
*/
uint8_t *silence;
+public:
AlsaOutput(const ConfigBlock &block);
~AlsaOutput() {