From 78c73fb9e7cb388ba58d26098098b31d53e52489 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 30 Dec 2017 17:52:07 +0100 Subject: [PATCH] MusicChunk: reorder attributes to reduce padding --- src/MusicChunk.hxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/MusicChunk.hxx b/src/MusicChunk.hxx index 532edf589..b1a2d682b 100644 --- a/src/MusicChunk.hxx +++ b/src/MusicChunk.hxx @@ -52,6 +52,12 @@ struct MusicChunkInfo { */ MusicChunk *other = nullptr; + /** + * An optional tag associated with this chunk (and the + * following chunks); appears at song boundaries. + */ + std::unique_ptr tag; + /** * The current mix ratio for cross-fading: 1.0 means play 100% * of this chunk, 0.0 means play 100% of the "other" chunk. @@ -67,12 +73,6 @@ struct MusicChunkInfo { /** the time stamp within the song */ SignedSongTime time; - /** - * An optional tag associated with this chunk (and the - * following chunks); appears at song boundaries. - */ - std::unique_ptr tag; - /** * Replay gain information associated with this chunk. * Only valid if the serial is not 0.