diff options
author | RJ Ryan <rryan@mixxx.org> | 2013-12-22 00:53:12 -0500 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2013-12-22 00:53:12 -0500 |
commit | f24b50c62e0be0ae77636c96cefb0ec8d4e8f066 (patch) | |
tree | 3d946e7b4af924bca27e119a0c4d3f803dc1e400 /src/vinylcontrol/vinylcontrolxwax.cpp | |
parent | d89e9ec252863683d3040985f2ead2a953fda7a1 (diff) |
Remove dead code.
Diffstat (limited to 'src/vinylcontrol/vinylcontrolxwax.cpp')
-rw-r--r-- | src/vinylcontrol/vinylcontrolxwax.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/vinylcontrol/vinylcontrolxwax.cpp b/src/vinylcontrol/vinylcontrolxwax.cpp index 991c0957d8..2789c1227d 100644 --- a/src/vinylcontrol/vinylcontrolxwax.cpp +++ b/src/vinylcontrol/vinylcontrolxwax.cpp @@ -226,23 +226,6 @@ void VinylControlXwax::analyzeSamples(const short *samples, size_t nFrames) { double dVinylPitch = timecoder_get_pitch(&timecoder); - // if no track loaded, let track selection work but that's it - // TODO(rryan): This is dead code since duration is always non-NULL. - if (duration == NULL) - { - //until I can figure out how to detect "track 2" on serato CD, - //don't try track selection - if (!m_bCDControl) - { - bTrackSelectMode = true; - doTrackSelection(false, dVinylPitch, m_iPosition); - } - return; - } - //qDebug() << m_group << id << m_iPosition << when << dVinylPitch; - - - // Has a new track been loaded? Currently we use track duration which is // integer seconds in the song. However, for calculations we need the // higher-accuracy duration found by dividing the track samples by the |