summaryrefslogtreecommitdiff
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-02-20 19:25:06 +0100
committerMax Kellermann <max@musicpd.org>2019-02-20 19:25:55 +0100
commit5bb02bbd39e0246f9c027dd38adcef26e12218c2 (patch)
treeed0659950ab55c7bd29c93158d08b8da57a85233 /src/mixer
parentf11aa09f7c9995e6fe3700cb61ea900c3b0eda1c (diff)
mixer/pulse: move `volume_scale_factor` up to improve struct packing
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/plugins/PulseMixerPlugin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mixer/plugins/PulseMixerPlugin.cxx b/src/mixer/plugins/PulseMixerPlugin.cxx
index 696c3a967..ed2afbcf5 100644
--- a/src/mixer/plugins/PulseMixerPlugin.cxx
+++ b/src/mixer/plugins/PulseMixerPlugin.cxx
@@ -40,9 +40,11 @@
class PulseMixer final : public Mixer {
PulseOutput &output;
+ const float volume_scale_factor;
+
bool online = false;
+
struct pa_cvolume volume;
- const float volume_scale_factor;
public:
PulseMixer(PulseOutput &_output, MixerListener &_listener,