Recognizes if input is ogg or not.
[xiph.git] / postfish / limit.h
blobd238bfb7f89695dc672ae069fba4487efb2865ec
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 typedef struct{
25 sig_atomic_t thresh;
26 sig_atomic_t depth;
27 sig_atomic_t decay;
28 } limit_settings;
30 extern int pull_limit_feedback(float *peak,float *att);
31 extern int limit_load(int ch);
32 extern int limit_reset(void);
33 extern time_linkage *limit_read(time_linkage *in);
35 extern sig_atomic_t limit_active;
36 extern sig_atomic_t limit_visible;
37 extern limit_settings limitset;