1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-24 23:33:50 +02:00

Support for scrubbing in playback engine, but unused

This commit is contained in:
Paul-Licameli
2015-04-16 21:31:10 -04:00
parent 5abfd25a34
commit d988c3329f
5 changed files with 642 additions and 68 deletions

View File

@@ -121,6 +121,9 @@ class AUDACITY_DLL_API Mixer {
/// Process() is called.
void Reposition(double t);
// Used in scrubbing.
void SetTimesAndSpeed(double t0, double t1, double speed);
/// Current time in seconds (unwarped, i.e. always between startTime and stopTime)
/// This value is not accurate, it's useful for progress bars and indicators, but nothing else.
double MixGetCurrentTime();
@@ -175,6 +178,7 @@ class AUDACITY_DLL_API Mixer {
samplePtr *mTemp;
float *mFloatBuffer;
double mRate;
double mSpeed;
bool mHighQuality;
};