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

Method FindScrubSpeed

src/tracks/ui/Scrubbing.cpp:823–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

821}
822
823double Scrubber::FindScrubSpeed(bool seeking, double time) const
824{
825 auto &viewInfo = ViewInfo::Get( *mProject );
826 const double screen =
827 viewInfo.GetScreenEndTime() - viewInfo.hpos;
828 return (seeking ? FindSeekSpeed : FindScrubbingSpeed)
829 (viewInfo, mMaxSpeed, screen, time);
830}
831
832void Scrubber::HandleScrollWheel(int steps)
833{

Callers 1

OnTimerMethod · 0.80

Calls 1

GetFunction · 0.85

Tested by

no test coverage detected