mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-24 06:10:09 +01:00
Remove the unsuccessful scrubbing experiment of 2.0.6.
This commit is contained in:
@@ -1154,7 +1154,7 @@ int AudioIO::StartStream(WaveTrackArray playbackTracks,
|
||||
bool playLooped /* = false */,
|
||||
double cutPreviewGapStart /* = 0.0 */,
|
||||
double cutPreviewGapLen, /* = 0.0 */
|
||||
const double *pStartTime /* = 0 */)
|
||||
const double * /* pStartTime */ /* = 0 */)
|
||||
{
|
||||
if( IsBusy() )
|
||||
return 0;
|
||||
@@ -1411,20 +1411,6 @@ int AudioIO::StartStream(WaveTrackArray playbackTracks,
|
||||
AILASetStartTime();
|
||||
#endif
|
||||
|
||||
if (pStartTime)
|
||||
{
|
||||
// Calculate the new time position
|
||||
mTime = std::max(mT0, std::min(mT1, *pStartTime));
|
||||
// Reset mixer positions for all playback tracks
|
||||
unsigned numMixers = mPlaybackTracks.GetCount();
|
||||
for (unsigned ii = 0; ii < numMixers; ++ii)
|
||||
mPlaybackMixers[ii]->Reposition(mTime);
|
||||
if(mTimeTrack)
|
||||
mWarpedTime = mTimeTrack->ComputeWarpedLength(mT0, mTime);
|
||||
else
|
||||
mWarpedTime = mTime - mT0;
|
||||
}
|
||||
|
||||
// We signal the audio thread to call FillBuffers, to prime the RingBuffers
|
||||
// so that they will have data in them when the stream starts. Having the
|
||||
// audio thread call FillBuffers here makes the code more predictable, since
|
||||
|
||||
Reference in New Issue
Block a user