Audacity 3.2.0
Namespaces | Functions | Variables
SampleHandle.cpp File Reference
#include "SampleHandle.h"
#include <algorithm>
#include <wx/gdicmn.h>
#include "Envelope.h"
#include "../../../../HitTestResult.h"
#include "../../../../prefs/WaveformSettings.h"
#include "../../../../ProjectAudioIO.h"
#include "ProjectHistory.h"
#include "../../../../RefreshCode.h"
#include "../../../../TrackArt.h"
#include "../../../../TrackArtist.h"
#include "../../../../TrackPanelMouseEvent.h"
#include "UndoManager.h"
#include "ViewInfo.h"
#include "../../../../WaveTrack.h"
#include "../../../../../images/Cursors.h"
#include "../../../../widgets/AudacityMessageBox.h"
Include dependency graph for SampleHandle.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{SampleHandle.cpp}
 

Functions

double anonymous_namespace{SampleHandle.cpp}::adjustTime (const WaveTrack *wt, double time)
 
bool anonymous_namespace{SampleHandle.cpp}::SampleResolutionTest (const ViewInfo &viewInfo, const WaveTrack *wt, double time, int width)
 
bool anonymous_namespace{SampleHandle.cpp}::IsSampleEditingPossible (const wxMouseEvent &event, const wxRect &rect, const ViewInfo &viewInfo, WaveTrack *wt, int width)
 

Variables

static const int SMOOTHING_KERNEL_RADIUS = 3
 
static const int SMOOTHING_BRUSH_RADIUS = 5
 
static const double SMOOTHING_PROPORTION_MAX = 0.7
 
static const double SMOOTHING_PROPORTION_MIN = 0.0
 

Variable Documentation

◆ SMOOTHING_BRUSH_RADIUS

const int SMOOTHING_BRUSH_RADIUS = 5
static

Definition at line 34 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().

◆ SMOOTHING_KERNEL_RADIUS

const int SMOOTHING_KERNEL_RADIUS = 3
static

Definition at line 33 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().

◆ SMOOTHING_PROPORTION_MAX

const double SMOOTHING_PROPORTION_MAX = 0.7
static

Definition at line 35 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().

◆ SMOOTHING_PROPORTION_MIN

const double SMOOTHING_PROPORTION_MIN = 0.0
static

Definition at line 36 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().