Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 56 lines (41 sloc) 1.674 kB
fd65cee @hzeller o add basic zita filter.
authored
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2006-2011 Fons Adriaensen <fons@linuxaudio.org>
4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 //
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software
17 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 //
19 // -----------------------------------------------------------------------------
20
21
22 #ifndef __CONFIG_H
23 #define __CONFIG_H
24
25
94ce1e1 @hzeller o remove zita-convolver copy again.
authored
26 #include <zita-convolver.h>
fd65cee @hzeller o add basic zita filter.
authored
27 #include "zita-sstring.h"
28
0edb358 @hzeller o attempt to remove global references in the zita config.
authored
29 struct ZitaConfig {
30 Convproc *convproc;
31 unsigned int latency;
32 unsigned int options;
33 unsigned int fsamp;
34 unsigned int fragm;
35 unsigned int ninp;
36 unsigned int nout;
37 unsigned int size;
38 };
fd65cee @hzeller o add basic zita filter.
authored
39
40 enum { NOERR, ERR_OTHER, ERR_SYNTAX, ERR_PARAM, ERR_ALLOC, ERR_CANTCD, ERR_COMMAND, ERR_NOCONV, ERR_IONUM };
41
42
0edb358 @hzeller o attempt to remove global references in the zita config.
authored
43 extern int config (ZitaConfig *cfg, const char *config);
44 extern int convnew (ZitaConfig *cfg, const char *line, int lnum);
45 extern int inpname (ZitaConfig *cfg, const char *line);
46 extern int outname (ZitaConfig *cfg, const char *line);
fd65cee @hzeller o add basic zita filter.
authored
47 extern void makeports (void);
48
49
50 #define MAXSIZE 0x00100000
51
52
53 #endif
54
55
Something went wrong with that request. Please try again.