Audacity 3.2.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
ScrubbingOptions Struct Reference

#include <ScrubState.h>

Public Member Functions

 ScrubbingOptions ()
 

Static Public Member Functions

static double MaxAllowedScrubSpeed ()
 
static double MinAllowedScrubSpeed ()
 

Public Attributes

bool adjustStart {}
 
double maxTime {}
 
double minTime {}
 
bool bySpeed {}
 
bool isKeyboardScrubbing {}
 
PlaybackPolicy::Duration delay {}
 
double initSpeed { 1.0 }
 
double minSpeed { 0.0 }
 
double maxSpeed { 1.0 }
 
PlaybackPolicy::Duration minStutterTime {}
 

Detailed Description

Definition at line 18 of file ScrubState.h.

Constructor & Destructor Documentation

◆ ScrubbingOptions()

ScrubbingOptions::ScrubbingOptions ( )
inline

Definition at line 19 of file ScrubState.h.

19{}

Member Function Documentation

◆ MaxAllowedScrubSpeed()

static double ScrubbingOptions::MaxAllowedScrubSpeed ( )
inlinestatic

Definition at line 42 of file ScrubState.h.

43 { return 32.0; } // Is five octaves enough for your amusement?

Referenced by Scrubber::ContinueScrubbingPoll(), Scrubber::HandleScrollWheel(), ScrubbingPlaybackPolicy::MixerWarpOptions(), and Scrubber::StartKeyboardScrubbing().

Here is the caller graph for this function:

◆ MinAllowedScrubSpeed()

static double ScrubbingOptions::MinAllowedScrubSpeed ( )
inlinestatic

Definition at line 44 of file ScrubState.h.

45 { return 0.01; } // Mixer needs a lower bound speed. Scrub no slower than this.

Referenced by Scrubber::ContinueScrubbingPoll(), Scrubber::HandleScrollWheel(), anonymous_namespace{ScrubState.cpp}::ScrubQueue::Data::Init(), ScrubbingPlaybackPolicy::MixerWarpOptions(), and Scrubber::StartKeyboardScrubbing().

Here is the caller graph for this function:

Member Data Documentation

◆ adjustStart

bool ScrubbingOptions::adjustStart {}

◆ bySpeed

bool ScrubbingOptions::bySpeed {}

◆ delay

PlaybackPolicy::Duration ScrubbingOptions::delay {}

◆ initSpeed

double ScrubbingOptions::initSpeed { 1.0 }

◆ isKeyboardScrubbing

bool ScrubbingOptions::isKeyboardScrubbing {}

◆ maxSpeed

double ScrubbingOptions::maxSpeed { 1.0 }

◆ maxTime

double ScrubbingOptions::maxTime {}

◆ minSpeed

double ScrubbingOptions::minSpeed { 0.0 }

◆ minStutterTime

PlaybackPolicy::Duration ScrubbingOptions::minStutterTime {}

◆ minTime

double ScrubbingOptions::minTime {}

The documentation for this struct was generated from the following file: