-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsinglecomp.h
62 lines (53 loc) · 1.77 KB
/
singlecomp.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*
*
* postfish
*
* Copyright (C) 2002-2005 Monty and Xiph.Org
*
* Postfish is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* Postfish is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Postfish; see the file COPYING. If not, write to the
* Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
*
*/
#include "postfish.h"
typedef struct {
sig_atomic_t o_attack;
sig_atomic_t o_decay;
sig_atomic_t u_attack;
sig_atomic_t u_decay;
sig_atomic_t b_attack;
sig_atomic_t b_decay;
sig_atomic_t o_thresh;
sig_atomic_t o_ratio;
sig_atomic_t o_lookahead;
sig_atomic_t o_mode;
sig_atomic_t o_softknee;
sig_atomic_t u_thresh;
sig_atomic_t u_ratio;
sig_atomic_t u_lookahead;
sig_atomic_t u_mode;
sig_atomic_t u_softknee;
sig_atomic_t b_ratio;
sig_atomic_t b_mode;
sig_atomic_t panel_visible;
sig_atomic_t panel_active;
} singlecomp_settings;
extern int pull_singlecomp_feedback_master(float *peak,float *rms);
extern int pull_singlecomp_feedback_channel(float *peak,float *rms);
extern int singlecomp_load(int ch);
extern int singlecomp_reset(void);
extern time_linkage *singlecomp_read_master(time_linkage *in);
extern time_linkage *singlecomp_read_channel(time_linkage *in);
extern singlecomp_settings singlecomp_master_set;
extern singlecomp_settings *singlecomp_channel_set;