sound: Peep hole optimisation

Reduce SpiceVolumeState structure size on 64 architectures
swapping the order of two fields.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
Frediano Ziglio 2016-11-11 17:58:57 +00:00
parent 4e9a274c04
commit eef0e07a0f

View File

@ -148,8 +148,8 @@ struct PlaybackChannel {
};
typedef struct SpiceVolumeState {
uint8_t volume_nchannels;
uint16_t *volume;
uint8_t volume_nchannels;
int mute;
} SpiceVolumeState;