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

This commit is contained in:
Max Kellermann 2019-02-20 19:25:06 +01:00
parent f11aa09f7c
commit 5bb02bbd39
1 changed files with 4 additions and 2 deletions

View File

@ -40,10 +40,12 @@
class PulseMixer final : public Mixer {
PulseOutput &output;
bool online = false;
struct pa_cvolume volume;
const float volume_scale_factor;
bool online = false;
struct pa_cvolume volume;
public:
PulseMixer(PulseOutput &_output, MixerListener &_listener,
double _volume_scale_factor)