1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2 * Mupen64plus - dummy_audio.c *
3 * Mupen64Plus homepage: http://code.google.com/p/mupen64plus/ *
4 * Copyright (C) 2008-2009 Richard Goedeken *
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. *
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. *
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 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
24 #include "api/m64p_types.h"
26 #include "dummy_audio.h"
28 m64p_error dummyaudio_PluginGetVersion(m64p_plugin_type *PluginType, int *PluginVersion,
29 int *APIVersion, const char **PluginNamePtr, int *Capabilities)
31 if (PluginType != NULL)
32 *PluginType = M64PLUGIN_AUDIO;
34 if (PluginVersion != NULL)
35 *PluginVersion = 0x00010000;
37 if (APIVersion != NULL)
38 *APIVersion = AUDIO_API_VERSION;
40 if (PluginNamePtr != NULL)
41 *PluginNamePtr = "Mupen64Plus-NoAudio";
43 if (Capabilities != NULL)
46 return M64ERR_SUCCESS;
49 void dummyaudio_AiDacrateChanged(int SystemType)
54 void dummyaudio_AiLenChanged(void)
59 int dummyaudio_InitiateAudio(AUDIO_INFO Audio_Info)
64 int dummyaudio_RomOpen(void)
69 void dummyaudio_RomClosed(void)
74 void dummyaudio_ProcessAList(void)
79 void dummyaudio_SetSpeedFactor(int percent)
84 void dummyaudio_VolumeUp(void)
89 void dummyaudio_VolumeDown(void)
94 int dummyaudio_VolumeGetLevel(void)
99 void dummyaudio_VolumeSetLevel(int level)
104 void dummyaudio_VolumeMute(void)
109 const char *dummyaudio_VolumeGetString(void)