Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoreAudio MP3 offsets for Serato cues #4

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/track/serato/tags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,18 @@ double SeratoTags::findTimingOffsetMillis(const QString& filePath) {

// TODO: Find missing timing offsets
switch (timingShiftCase) {
#if defined(__MAD__) || defined(__FFMPEG__)
#if defined(__COREAUDIO__)
case EXIT_CODE_CASE_A:
timingOffset = -12;
break;
case EXIT_CODE_CASE_B:
timingOffset = -40;
break;
case EXIT_CODE_CASE_C:
case EXIT_CODE_CASE_D:
timingOffset = -60;
break;
#elif defined(__MAD__) || defined(__FFMPEG__)
// Apparently all mp3guessenc cases have the same offset for MAD
// and FFMPEG
default:
Expand Down