1 #pragma once 2 3 #define VINYL_PREF_KEY "[VinylControl]" 4 5 const QString kVCGroup = QString("[Channel%1]"); 6 const int VINYL_STATUS_DISABLED = 0; 7 const int VINYL_STATUS_OK = 1; 8 const int VINYL_STATUS_WARNING = 2; 9 const int VINYL_STATUS_ERROR = 3; 10 11 #define MIXXX_VINYL_FINALSCRATCH "Final Scratch (crappy)" // Not currently used 12 #define MIXXX_VINYL_MIXVIBESDVS "MixVibes DVS V2 Vinyl" 13 #define MIXXX_VINYL_SERATOCV02VINYLSIDEA "Serato CV02 Vinyl, Side A" 14 #define MIXXX_VINYL_SERATOCV02VINYLSIDEB "Serato CV02 Vinyl, Side B" 15 #define MIXXX_VINYL_SERATOCD "Serato CD" 16 #define MIXXX_VINYL_TRAKTORSCRATCHSIDEA "Traktor Scratch MK1 Vinyl, Side A" 17 #define MIXXX_VINYL_TRAKTORSCRATCHSIDEB "Traktor Scratch MK1 Vinyl, Side B" 18 19 // Default recommended leadin times for various vinyl types. 20 #define MIXXX_VINYL_FINALSCRATCH_LEADIN 0 21 #define MIXXX_VINYL_MIXVIBESDVS_LEADIN 0 22 #define MIXXX_VINYL_SERATOCV02VINYLSIDEA_LEADIN 28 23 #define MIXXX_VINYL_SERATOCV02VINYLSIDEB_LEADIN 28 24 #define MIXXX_VINYL_SERATOCD_LEADIN 0 25 #define MIXXX_VINYL_TRAKTORSCRATCHSIDEA_LEADIN 10 26 #define MIXXX_VINYL_TRAKTORSCRATCHSIDEB_LEADIN 10 27 28 #define MIXXX_VINYL_SPEED_33 "33.3 RPM" 29 #define MIXXX_VINYL_SPEED_45 "45 RPM" 30 31 #define MIXXX_VINYL_SPEED_33_NUM (100.0 / 3.0) 32 #define MIXXX_VINYL_SPEED_45_NUM 45.0 33 34 #define MIXXX_VCMODE_ABSOLUTE 0 35 #define MIXXX_VCMODE_RELATIVE 1 36 #define MIXXX_VCMODE_CONSTANT 2 37 38 #define MIXXX_RELATIVE_CUE_OFF 0 39 #define MIXXX_RELATIVE_CUE_ONECUE 1 40 #define MIXXX_RELATIVE_CUE_HOTCUE 2 41 42 #define MIXXX_VC_DEFAULT_LEADINTIME 0 43 44 #define MIXXX_VINYL_SCOPE_UPDATE_LATENCY_MS 66 45 #define MIXXX_VINYL_SCOPE_SIZE 100 46 47 const int kMaximumVinylControlInputs = 4; 48