Recognizes if input is ogg or not.
[xiph.git] / postfish / deverb.h
blob35d729b5555296d9bd29f5126896dcddae23c9a2
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 #define deverb_freqs 8
27 static const float deverb_freq_list[deverb_freqs+1]={
28 125,250,500,1000,2000,4000,8000,16000,9e10
31 static char * const deverb_freq_labels[deverb_freqs]={
32 "125","250","500","1k","2k","4k","8k","16k"
35 typedef struct {
36 sig_atomic_t ratio[deverb_freqs];
37 sig_atomic_t smooth;
38 sig_atomic_t trigger;
39 sig_atomic_t release;
40 sig_atomic_t linkp;
42 sig_atomic_t *active;
43 sig_atomic_t panel_visible;
44 } deverb_settings;
46 extern void deverb_reset();
47 extern int deverb_load(void);
48 extern time_linkage *deverb_read_channel(time_linkage *in);
50 extern deverb_settings deverb_channel_set;