Audacity 3.2.0
|
Functions | |
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) |
AUDACITY_DLL_API void | fillWhere (std::vector< sampleCount > &where, size_t len, bool addBias, double correction, double t0, double sampleRate, double stretchRatio, double samplesPerPixel) |
std::vector< CommonTrackPanelCell::MenuItem > | GetWaveClipMenuItems () |
void | PushClipSpeedChangedUndoState (AudacityProject &project, double speedInPercent) |
void | SelectClip (AudacityProject &project, const WaveTrack::Interval &clip) |
void WaveClipUIUtilities::fillWhere | ( | std::vector< sampleCount > & | where, |
size_t | len, | ||
bool | addBias, | ||
double | correction, | ||
double | t0, | ||
double | sampleRate, | ||
double | stretchRatio, | ||
double | samplesPerPixel | ||
) |
Definition at line 66 of file WaveClipUIUtilities.cpp.
References anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
Referenced by WaveClipSpectrumCache::GetSpectrogram().
void WaveClipUIUtilities::findCorrection | ( | const std::vector< sampleCount > & | oldWhere, |
size_t | oldLen, | ||
size_t | newLen, | ||
double | t0, | ||
double | sampleRate, | ||
double | stretchRatio, | ||
double | samplesPerPixel, | ||
int & | oldX0, | ||
double & | correction | ||
) |
Definition at line 23 of file WaveClipUIUtilities.cpp.
References anonymous_namespace{ClipSegmentTest.cpp}::sampleRate.
Referenced by WaveClipSpectrumCache::GetSpectrogram().
std::vector< CommonTrackPanelCell::MenuItem > WaveClipUIUtilities::GetWaveClipMenuItems | ( | ) |
Definition at line 79 of file WaveClipUIUtilities.cpp.
References XO().
Referenced by WaveChannelSubView::GetMenuItems(), and WaveTrackAffordanceControls::GetMenuItems().
void WaveClipUIUtilities::PushClipSpeedChangedUndoState | ( | AudacityProject & | project, |
double | speedInPercent | ||
) |
Definition at line 97 of file WaveClipUIUtilities.cpp.
References CONSOLIDATE, ProjectHistory::Get(), project, ProjectHistory::PushState(), and XO().
Referenced by AdjustClipBorder::Finish().
void WaveClipUIUtilities::SelectClip | ( | AudacityProject & | project, |
const WaveTrack::Interval & | clip | ||
) |
Definition at line 110 of file WaveClipUIUtilities.cpp.
References ViewInfo::Get(), WaveClip::GetPlayEndTime(), WaveClip::GetPlayStartTime(), and project.
Referenced by ClipPitchAndSpeedButtonHandle::DoRelease(), WaveTrackAffordanceControls::OnRenderClipStretching(), and PitchAndSpeedDialog::SetClipSpeed().