Audacious  $Id:Doxyfile42802007-03-2104:39:00Znenolod$
effect.h
Go to the documentation of this file.
00001 /*
00002  * effect.h
00003  * Copyright 2010 John Lindgren
00004  *
00005  * This file is part of Audacious.
00006  *
00007  * Audacious is free software: you can redistribute it and/or modify it under
00008  * the terms of the GNU General Public License as published by the Free Software
00009  * Foundation, version 2 or version 3 of the License.
00010  *
00011  * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY
00012  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
00013  * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License along with
00016  * Audacious. If not, see <http://www.gnu.org/licenses/>.
00017  *
00018  * The Audacious team does not consider modular code linking to Audacious or
00019  * using our public API to be a derived work.
00020  */
00021 
00022 
00023 #ifndef AUDACIOUS_EFFECT_H
00024 #define AUDACIOUS_EFFECT_H
00025 
00026 #include <glib.h>
00027 
00028 void effect_start (gint * channels, gint * rate);
00029 void effect_process (gfloat * * data, gint * samples);
00030 void effect_flush (void);
00031 void effect_finish (gfloat * * data, gint * samples);
00032 gint effect_decoder_to_output_time (gint time);
00033 gint effect_output_to_decoder_time (gint time);
00034 
00035 #endif