1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Mixer::WarpOptions constructor for common case

This commit is contained in:
Paul Licameli
2020-11-30 13:41:10 -05:00
parent 9d6dd45973
commit 4871584cb3
6 changed files with 22 additions and 17 deletions

View File

@@ -82,10 +82,13 @@ class AUDACITY_DLL_API Mixer {
class WarpOptions
{
public:
explicit WarpOptions(const BoundedEnvelope *e)
: envelope(e), minSpeed(0.0), maxSpeed(0.0)
{}
//! Construct with warp from the TimeTrack if there is one
explicit WarpOptions(const TrackList &list);
//! Construct with an explicit warp
explicit WarpOptions(const BoundedEnvelope *e);
//! Construct with no time warp
WarpOptions(double min, double max);
private: