MCPcopy Create free account
hub / github.com/audacity/audacity / Init

Method Init

src/ScrubState.cpp:22–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 ScrubQueue() {}
21
22 void Init(double t0,
23 double rate,
24 const ScrubbingOptions &options)
25 {
26 mRate = rate;
27 mStartTime = t0;
28 const double t1 = options.bySpeed ? options.initSpeed : t0;
29 Update( t1, options );
30
31 mStarted = false;
32 mStopped = false;
33 mAccumulatedSeekDuration = 0;
34 }
35
36 void Update(double end, const ScrubbingOptions &options)
37 {

Callers 2

GetMethod · 0.45
InitializeMethod · 0.45

Calls 1

UpdateFunction · 0.50

Tested by

no test coverage detected