mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
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:
parent
4e9a274c04
commit
eef0e07a0f
@ -148,8 +148,8 @@ struct PlaybackChannel {
|
||||
};
|
||||
|
||||
typedef struct SpiceVolumeState {
|
||||
uint8_t volume_nchannels;
|
||||
uint16_t *volume;
|
||||
uint8_t volume_nchannels;
|
||||
int mute;
|
||||
} SpiceVolumeState;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user