]> git.sesse.net Git - vlc/blob - modules/visualization/galaktos/plugin.h
Simplify configure for win32
[vlc] / modules / visualization / galaktos / plugin.h
1 /*****************************************************************************
2  * plugin.h:
3  *****************************************************************************
4  * Copyright (C) 2004 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Cyril Deguet <asmax@videolan.org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #ifndef _GALAKTOS_PLUGIN_H_
25 #define _GALAKTOS_PLUGIN_H_
26
27 #ifdef HAVE_CONFIG_H
28  #include "config.h"
29 #endif
30
31 #include <vlc_common.h>
32 #include <vlc_aout.h>
33 #include <vlc_vout.h>
34
35 #define MAX_BLOCKS 10
36
37 typedef struct
38 {
39     VLC_COMMON_MEMBERS
40
41     char          *psz_title;
42
43     /* OpenGL provider */
44     vout_thread_t *p_opengl;
45     module_t      *p_module;
46
47     /* Window properties */
48     int           i_width;
49     int           i_height;
50     int           b_fullscreen;
51
52     /* Audio properties */
53     int           i_channels;
54
55     /* Audio buffer */
56     int16_t       p_data[2][512];
57     int           i_cur_sample;
58
59     /* OS specific data */
60     void          *p_os_data;
61
62 } galaktos_thread_t;
63
64 #endif