mixer/pulse: move `volume_scale_factor` up to improve struct packing
This commit is contained in:
parent
f11aa09f7c
commit
5bb02bbd39
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue