gmerlin
visualize.h
1 /*****************************************************************
2  * gmerlin - a general purpose multimedia framework and applications
3  *
4  * Copyright (c) 2001 - 2012 Members of the Gmerlin project
5  * gmerlin-general@lists.sourceforge.net
6  * http://gmerlin.sourceforge.net
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  * *****************************************************************/
21 
22 
41 typedef struct bg_visualizer_s bg_visualizer_t;
42 
49 
56 
63 
70  bg_ov_callbacks_t * cb);
71 
72 
79 void bg_visualizer_set_parameter(void * priv,
80  const char * name,
81  const bg_parameter_value_t * val);
82 
89  const bg_plugin_info_t * info);
90 
97 void bg_visualizer_set_vis_parameter(void * priv,
98  const char * name,
99  const bg_parameter_value_t * val);
100 
108  const gavl_audio_format_t * format,
109  bg_plugin_handle_t * ov_handle);
110 
119  const gavl_audio_format_t * format,
120  const bg_plugin_info_t * ov_info,
121  const char * display_id);
122 
123 /* Set new audio format without stopping the visualization thread */
124 
134  const gavl_audio_format_t * format);
135 
142  const gavl_audio_frame_t * frame);
143 
152 
162 
169