Skip to content

Commit

Permalink
Merge pull request #4 from ehendrikd/serato-markers-integration-cues-…
Browse files Browse the repository at this point in the history
…coreaudio

CoreAudio MP3 offsets for Serato cues
  • Loading branch information
Holzhaus authored Apr 21, 2020
2 parents 231c686 + 60120aa commit 6f8da17
Showing 1 changed file with 12 additions and 1 deletion.
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

0 comments on commit 6f8da17

Please sign in to comment.