From 51aa1d2db87e95956ecf010e63e376dc6a185fba Mon Sep 17 00:00:00 2001
From: Max Kellermann <max.kellermann@gmail.com>
Date: Thu, 18 Aug 2022 14:14:06 +0200
Subject: [PATCH] mixer/Internal: hide internal fields

---
 src/mixer/Mixer.hxx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/mixer/Mixer.hxx b/src/mixer/Mixer.hxx
index 35f8baeb9..e86f2b19f 100644
--- a/src/mixer/Mixer.hxx
+++ b/src/mixer/Mixer.hxx
@@ -27,11 +27,14 @@
 class MixerListener;
 
 class Mixer {
-public:
 	const MixerPlugin &plugin;
 
+public:
+	/* this field needs to be public for the workaround in
+	   ReplayGainFilter::Update() - TODO eliminate this kludge */
 	MixerListener &listener;
 
+private:
 	/**
 	 * This mutex protects all of the mixer struct, including its
 	 * implementation, so plugins don't have to deal with that.