Ardour
9.0-pre0-1874-geff8ff81c1
timefx_request.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 Paul Davis <paul@linuxaudiosystems.com>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#pragma once
20
21
#include "
temporal/types.h
"
22
#include "
ardour/interthread_info.h
"
23
24
namespace
ARDOUR
{
25
26
struct
TimeFXRequest
:
public
InterThreadInfo
{
27
28
enum
Algorithm
{
29
Rubberband
,
30
StaffPad
,
31
SoundTouch
,
32
};
33
34
TimeFXRequest
()
35
:
algorithm
(
Rubberband
)
36
,
time_fraction
(0,1)
37
,
pitch_fraction
(0)
38
,
quick_seek
(false)
39
,
antialias
(false)
40
,
opts
(0) {}
41
42
Algorithm
algorithm
;
43
Temporal::ratio_t
time_fraction
;
44
float
pitch_fraction
;
45
/* SoundTouch */
46
bool
quick_seek
;
47
bool
antialias
;
48
/* RubberBand */
49
int
opts
;
// really RubberBandStretcher::Options
50
};
51
}
52
ARDOUR::InterThreadInfo
Definition:
interthread_info.h:29
Temporal::_ratio_t
Definition:
temporal/temporal/types.h:69
interthread_info.h
ARDOUR
Definition:
analysis_window.h:44
ARDOUR::TimeFXRequest
Definition:
timefx_request.h:26
ARDOUR::TimeFXRequest::quick_seek
bool quick_seek
Definition:
timefx_request.h:46
ARDOUR::TimeFXRequest::Algorithm
Algorithm
Definition:
timefx_request.h:28
ARDOUR::TimeFXRequest::SoundTouch
@ SoundTouch
Definition:
timefx_request.h:31
ARDOUR::TimeFXRequest::Rubberband
@ Rubberband
Definition:
timefx_request.h:29
ARDOUR::TimeFXRequest::StaffPad
@ StaffPad
Definition:
timefx_request.h:30
ARDOUR::TimeFXRequest::antialias
bool antialias
Definition:
timefx_request.h:47
ARDOUR::TimeFXRequest::time_fraction
Temporal::ratio_t time_fraction
Definition:
timefx_request.h:43
ARDOUR::TimeFXRequest::TimeFXRequest
TimeFXRequest()
Definition:
timefx_request.h:34
ARDOUR::TimeFXRequest::pitch_fraction
float pitch_fraction
Definition:
timefx_request.h:44
ARDOUR::TimeFXRequest::opts
int opts
Definition:
timefx_request.h:49
ARDOUR::TimeFXRequest::algorithm
Algorithm algorithm
Definition:
timefx_request.h:42
types.h
libs
ardour
ardour
timefx_request.h
Generated on Mon Oct 13 2025 05:05:28 for Ardour by
1.9.1