Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
effect.h
Go to the documentation of this file.
1 /*
2  * effect.h
3  * Copyright 2010 John Lindgren
4  *
5  * This file is part of Audacious.
6  *
7  * Audacious is free software: you can redistribute it and/or modify it under
8  * the terms of the GNU General Public License as published by the Free Software
9  * Foundation, version 2 or version 3 of the License.
10  *
11  * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY
12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
13  * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along with
16  * Audacious. If not, see <http://www.gnu.org/licenses/>.
17  *
18  * The Audacious team does not consider modular code linking to Audacious or
19  * using our public API to be a derived work.
20  */
21 
22 
23 #ifndef AUDACIOUS_EFFECT_H
24 #define AUDACIOUS_EFFECT_H
25 
26 #include <libaudcore/core.h>
27 
28 #include "types.h"
29 
30 void effect_start (int * channels, int * rate);
31 void effect_process (float * * data, int * samples);
32 void effect_flush (void);
33 void effect_finish (float * * data, int * samples);
34 int effect_decoder_to_output_time (int time);
35 int effect_output_to_decoder_time (int time);
36 
39 
40 #endif