Skip to content

Commit

Permalink
Attempt to deal with large lead-out shift (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deterous authored Jun 25, 2024
1 parent f52fd2e commit e0834ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cd/split.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ export void redumper_split(Context &ctx, Options &options)
auto &s = toc.sessions[i];
auto &t = s.tracks.front();

int32_t leadin_start = i ? toc.sessions[i - 1].tracks.back().lba_end : sample_to_lba(nonzero_data_range.first);
int32_t leadin_start = i ? toc.sessions[i - 1].tracks.back().lba_end : sample_to_lba(nonzero_data_range.first, offset_manager->getOffset(sample_to_lba(nonzero_data_range.first)));
int32_t leadin_end = i ? t.indices.front() : 0;

// do this before new track insertion
Expand Down

0 comments on commit e0834ca

Please sign in to comment.