Audio SDL plugin. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / mupen64plus-audio-sdl / src / main.h
CommitLineData
852ee1c3 1/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2 * Mupen64plus - main.h *
3 * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ *
4 * Copyright (C) 2008-2012 Tillin9, Richard42 *
5 * *
6 * This program is free software; you can redistribute it and/or modify *
7 * it under the terms of the GNU General Public License as published by *
8 * the Free Software Foundation; either version 2 of the License, or *
9 * (at your option) any later version. *
10 * *
11 * This program is distributed in the hope that it will be useful, *
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14 * GNU General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU General Public License *
17 * along with this program; if not, write to the *
18 * Free Software Foundation, Inc., *
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
20 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21
22/* version info */
23#define SDL_AUDIO_PLUGIN_VERSION 0x020000
24#define AUDIO_PLUGIN_API_VERSION 0x020000
25#define CONFIG_API_VERSION 0x020100
26#define CONFIG_PARAM_VERSION 1.00
27
28#define VERSION_PRINTF_SPLIT(x) (((x) >> 16) & 0xffff), (((x) >> 8) & 0xff), ((x) & 0xff)
29
30/* declarations of pointers to Core config functions */
31extern ptr_ConfigListSections ConfigListSections;
32extern ptr_ConfigOpenSection ConfigOpenSection;
33extern ptr_ConfigDeleteSection ConfigDeleteSection;
34extern ptr_ConfigSaveSection ConfigSaveSection;
35extern ptr_ConfigListParameters ConfigListParameters;
36extern ptr_ConfigSaveFile ConfigSaveFile;
37extern ptr_ConfigSetParameter ConfigSetParameter;
38extern ptr_ConfigGetParameter ConfigGetParameter;
39extern ptr_ConfigGetParameterHelp ConfigGetParameterHelp;
40extern ptr_ConfigSetDefaultInt ConfigSetDefaultInt;
41extern ptr_ConfigSetDefaultFloat ConfigSetDefaultFloat;
42extern ptr_ConfigSetDefaultBool ConfigSetDefaultBool;
43extern ptr_ConfigSetDefaultString ConfigSetDefaultString;
44extern ptr_ConfigGetParamInt ConfigGetParamInt;
45extern ptr_ConfigGetParamFloat ConfigGetParamFloat;
46extern ptr_ConfigGetParamBool ConfigGetParamBool;
47extern ptr_ConfigGetParamString ConfigGetParamString;
48