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 ScrubbingPlaybackPolicy::MixerWarpOptions().

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 anonymous_namespace{ScrubState.cpp}::ScrubQueue::Data::Init(), and ScrubbingPlaybackPolicy::MixerWarpOptions().

Here is the caller graph for this function:

Member Data Documentation

◆ adjustStart

bool ScrubbingOptions::adjustStart {}

◆ bySpeed

bool ScrubbingOptions::bySpeed {}

◆ delay

PlaybackPolicy::Duration ScrubbingOptions::delay {}

Definition at line 30 of file ScrubState.h.

Referenced by ScrubbingPlaybackPolicy::SuggestedBufferTimes().

◆ initSpeed

double ScrubbingOptions::initSpeed { 1.0 }

Definition at line 33 of file ScrubState.h.

Referenced by anonymous_namespace{ScrubState.cpp}::ScrubQueue::Init().

◆ 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: