fix(comments): correct stale v3 "CURRENT" payload prose to v5 in sample_map
This commit is contained in:
@@ -353,11 +353,13 @@ struct ByteReader {
|
||||
}
|
||||
};
|
||||
|
||||
// Append the zones payload — the shared body of the v2 performance blob and the v3 component
|
||||
// blob, so both write zones identically. Always emits PAYLOAD v2 (the S11 self-describing
|
||||
// marker + version + EXTENDED records): the marker precedes the zone count so any reader can
|
||||
// detect the record shape independently of the envelope version (see sample_map.h). The S11
|
||||
// loop/start overrides therefore round-trip through EITHER envelope with no envelope bump.
|
||||
// Append the zones payload — the shared body of the performance blob and the component blob,
|
||||
// so both write zones identically. Always emits the CURRENT PAYLOAD version (kZonesPayloadVersion
|
||||
// == v5: the S11 self-describing marker + version + EXTENDED records carrying the loop/start tail
|
||||
// AND the full play-params tail with wall-clock times stored as SECONDS): the marker precedes
|
||||
// the zone count so any reader can detect the record shape independently of the envelope version
|
||||
// (see sample_map.h). The S11 loop/start overrides and the play params therefore round-trip
|
||||
// through EITHER envelope with no envelope bump.
|
||||
void putZonesPayload(std::vector<std::uint8_t>& out, const PerformanceMap& map) {
|
||||
putU32le(out, kZonesFormatMarker);
|
||||
putU32le(out, kZonesPayloadVersion);
|
||||
|
||||
Reference in New Issue
Block a user