MusicChunk: reorder attributes to reduce padding
This commit is contained in:
@@ -52,6 +52,12 @@ struct MusicChunkInfo {
|
|||||||
*/
|
*/
|
||||||
MusicChunk *other = nullptr;
|
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%
|
* The current mix ratio for cross-fading: 1.0 means play 100%
|
||||||
* of this chunk, 0.0 means play 100% of the "other" chunk.
|
* of this chunk, 0.0 means play 100% of the "other" chunk.
|
||||||
@@ -67,12 +73,6 @@ struct MusicChunkInfo {
|
|||||||
/** the time stamp within the song */
|
/** the time stamp within the song */
|
||||||
SignedSongTime time;
|
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.
|
* Replay gain information associated with this chunk.
|
||||||
* Only valid if the serial is not 0.
|
* Only valid if the serial is not 0.
|
||||||
|
Reference in New Issue
Block a user