forked from ePirat/Postfish
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlimit.h
37 lines (34 loc) · 1.14 KB
/
limit.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
/*
*
* 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.
*
*
*/
typedef struct{
sig_atomic_t thresh;
sig_atomic_t depth;
sig_atomic_t decay;
} limit_settings;
extern int pull_limit_feedback(float *peak,float *att);
extern int limit_load(int ch);
extern int limit_reset(void);
extern time_linkage *limit_read(time_linkage *in);
extern sig_atomic_t limit_active;
extern sig_atomic_t limit_visible;
extern limit_settings limitset;