Ardour  8.12
stretch.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2013 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2008-2009 David Robillard <d@drobilla.net>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef __ardour_stretch_h__
21 #define __ardour_stretch_h__
22 
23 #ifdef WAF_BUILD
24 #include "libardour-config.h"
25 #endif
26 
27 #include "ardour/filter.h"
28 #include "ardour/timefx_request.h"
29 
30 
31 #include "ardour/rb_effect.h"
32 
33 namespace ARDOUR {
34 
36  public:
39 };
40 
41 } /* namespace */
42 
43 #ifdef HAVE_SOUNDTOUCH
44 #include <soundtouch/SoundTouch.h>
45 
46 namespace ARDOUR {
47 
48 class LIBARDOUR_API STStretch : public Filter {
49  public:
50  STStretch (ARDOUR::Session&, TimeFXRequest&);
51  ~STStretch ();
52 
53  int run (std::shared_ptr<ARDOUR::Region>, PBD::Progress* progress = 0);
54 
55  private:
56  TimeFXRequest& tsr;
57 };
58 
59 } /* namespace */
60 #endif
61 
62 
63 #endif /* __ardour_stretch_h__ */
RBStretch(ARDOUR::Session &, TimeFXRequest &)
Definition: Filter.h:21
#define LIBARDOUR_API