/* * vis_runner.h * Copyright 2009 John Lindgren * * This file is part of Audacious. * * Audacious is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, version 3 of the License. * * Audacious is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along with * Audacious. If not, see . * * The Audacious team does not consider modular code linking to Audacious or * using our public API to be a derived work. */ void vis_runner_init (void); void vis_runner_start_stop (gboolean playing, gboolean paused); void vis_runner_pass_audio (gint time, gfloat * data, gint samples, gint channels); void vis_runner_time_offset (gint offset); void vis_runner_flush (void); void vis_runner_add_hook (HookFunction func, gpointer user_data); void vis_runner_remove_hook (HookFunction func);