11#ifndef __AUDACITY_WAVE_CLIP_UI_UTILITIES__
12#define __AUDACITY_WAVE_CLIP_UI_UTILITIES__
17#include "../../../ui/CommonTrackPanelCell.h"
23enum class PitchAndSpeedDialogFocus;
29 const std::vector<sampleCount>& oldWhere,
size_t oldLen,
size_t newLen,
30 double t0,
double sampleRate,
double stretchRatio,
double samplesPerPixel,
31 int& oldX0,
double& correction);
35 std::vector<sampleCount>& where,
size_t len,
bool addBias,
double correction,
36 double t0,
double sampleRate,
double stretchRatio,
double samplesPerPixel);
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
This allows multiple clips to be a part of one WaveTrack.
Positions or offsets within audio files need a wide type.
void SelectClip(AudacityProject &project, const WaveTrack::Interval &clip)
void PushClipSpeedChangedUndoState(AudacityProject &project, double speedInPercent)
std::vector< CommonTrackPanelCell::MenuItem > GetWaveClipMenuItems()
AUDACITY_DLL_API void fillWhere(std::vector< sampleCount > &where, size_t len, bool addBias, double correction, double t0, double sampleRate, double stretchRatio, double samplesPerPixel)
AUDACITY_DLL_API void findCorrection(const std::vector< sampleCount > &oldWhere, size_t oldLen, size_t newLen, double t0, double sampleRate, double stretchRatio, double samplesPerPixel, int &oldX0, double &correction)
constexpr auto sampleRate