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