Audacity 3.2.0
Typedefs | Functions
TimeStretching.cpp File Reference
#include "TimeStretching.h"
#include "BasicUI.h"
#include "SampleBlock.h"
#include "Sequence.h"
#include "TempoChange.h"
#include "UserException.h"
#include "WaveClip.h"
#include <algorithm>
Include dependency graph for TimeStretching.cpp:

Go to the source code of this file.

Typedefs

using OnWaveTrackProjectTempoChange = OnProjectTempoChange::Override< WaveTrack >
 

Functions

 DEFINE_ATTACHED_VIRTUAL_OVERRIDE (OnWaveTrackProjectTempoChange)
 

Typedef Documentation

◆ OnWaveTrackProjectTempoChange

Definition at line 62 of file TimeStretching.cpp.

Function Documentation

◆ DEFINE_ATTACHED_VIRTUAL_OVERRIDE()

DEFINE_ATTACHED_VIRTUAL_OVERRIDE ( OnWaveTrackProjectTempoChange  )

Definition at line 63 of file TimeStretching.cpp.

63 {
64 return [](WaveTrack &track,
65 const std::optional<double> &oldTempo, double newTempo)
66 {
67 for (const auto pClip : track.Intervals())
68 pClip->OnProjectTempoChange(oldTempo, newTempo);
69 };
70}
A Track that contains audio waveform data.
Definition: WaveTrack.h:203
auto Intervals()
Definition: WaveTrack.h:671

References WaveTrack::Intervals().

Here is the call graph for this function: