X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fst_pitch.cc;h=752fdd8ae51aff73bb77ed4be0aa6678677dbece;hb=1399ef391de5b05888ea2e13e6ff80f14b6e84d9;hp=3999c1a7460417b2415975e8f5fec698cf594138;hpb=bb457bb960c5bd7ed538f9d31477293415739f68;p=ardour.git diff --git a/libs/ardour/st_pitch.cc b/libs/ardour/st_pitch.cc index 3999c1a746..752fdd8ae5 100644 --- a/libs/ardour/st_pitch.cc +++ b/libs/ardour/st_pitch.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2004-2007 Paul Davis + Copyright (C) 2004-2007 Paul Davis This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,15 +20,15 @@ #include #include -#include +#include "pbd/error.h" -#include -#include -#include -#include -#include +#include "ardour/types.h" +#include "ardour/pitch.h" +#include "ardour/audiofilesource.h" +#include "ardour/session.h" +#include "ardour/audioregion.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; @@ -39,13 +39,12 @@ Pitch::Pitch (Session& s, TimeFXRequest& req) , tsr (req) { - tsr.progress = 0.0f; + } int Pitch::run (boost::shared_ptr region) { - tsr.progress = 1.0f; tsr.done = true; return 1;