MusicChunk: reorder attributes to reduce padding
This commit is contained in:
parent
a06bf388d9
commit
78c73fb9e7
|
@ -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> 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> tag;
|
||||
|
||||
/**
|
||||
* Replay gain information associated with this chunk.
|
||||
* Only valid if the serial is not 0.
|
||||
|
|
Loading…
Reference in New Issue