Commit 5bb02bbd authored by Max Kellermann's avatar Max Kellermann

mixer/pulse: move `volume_scale_factor` up to improve struct packing

parent f11aa09f
...@@ -40,9 +40,11 @@ ...@@ -40,9 +40,11 @@
class PulseMixer final : public Mixer { class PulseMixer final : public Mixer {
PulseOutput &output; PulseOutput &output;
const float volume_scale_factor;
bool online = false; bool online = false;
struct pa_cvolume volume; struct pa_cvolume volume;
const float volume_scale_factor;
public: public:
PulseMixer(PulseOutput &_output, MixerListener &_listener, PulseMixer(PulseOutput &_output, MixerListener &_listener,
......
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