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 "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 "WaveChannelUtilities.h"
#include "WaveClip.h"
#include "WaveTrack.h"
#include "../../../../../images/Cursors.h"
#include "AudacityMessageBox.h"
#include "prefs/WaveformScale.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 WaveChannel &wt, double time)
 
bool anonymous_namespace{SampleHandle.cpp}::SampleResolutionTest (const ViewInfo &viewInfo, const WaveChannelInterval &clip, const ZoomInfo::Intervals &intervals)
 
size_t anonymous_namespace{SampleHandle.cpp}::GetLastEditableClipStartingFromNthClip (size_t n, bool forward, const WaveChannelUtilities::ClipPointers &sortedClips, const ViewInfo &viewInfo, const ZoomInfo::Intervals &intervals)
 

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 37 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().

◆ SMOOTHING_KERNEL_RADIUS

const int SMOOTHING_KERNEL_RADIUS = 3
static

Definition at line 36 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().

◆ SMOOTHING_PROPORTION_MAX

const double SMOOTHING_PROPORTION_MAX = 0.7
static

Definition at line 38 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().

◆ SMOOTHING_PROPORTION_MIN

const double SMOOTHING_PROPORTION_MIN = 0.0
static

Definition at line 39 of file SampleHandle.cpp.

Referenced by SampleHandle::Click().