zenilib
0.5.3.0
|
#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include "alMain.h"
Go to the source code of this file.
Typedefs | |
typedef struct ConfigBlock | ConfigBlock |
typedef struct ConfigEntry | ConfigEntry |
Functions | |
int | ConfigValueExists (const char *blockName, const char *keyName) |
int | ConfigValueFloat (const char *blockName, const char *keyName, float *ret) |
int | ConfigValueInt (const char *blockName, const char *keyName, int *ret) |
int | ConfigValueStr (const char *blockName, const char *keyName, const char **ret) |
int | ConfigValueUInt (const char *blockName, const char *keyName, unsigned int *ret) |
void | FreeALConfig (void) |
const char * | GetConfigValue (const char *blockName, const char *keyName, const char *def) |
int | GetConfigValueBool (const char *blockName, const char *keyName, int def) |
static void | LoadConfigFromFile (FILE *f) |
void | ReadALConfig (void) |
Variables | |
static char | buffer [1024] |
static ConfigBlock * | cfgBlocks |
static unsigned int | cfgCount |
typedef struct ConfigBlock ConfigBlock |
typedef struct ConfigEntry ConfigEntry |
OpenAL cross platform audio library Copyright (C) 1999-2007 by authors. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library 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 Library General Public License for more details.
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. Or go to http://www.gnu.org/copyleft/lgpl.html
Definition at line 310 of file alcConfig.c.
References GetConfigValue().
Referenced by alc_wave_probe().
Definition at line 343 of file alcConfig.c.
References GetConfigValue(), and NULL.
Referenced by alc_initconfig().
Definition at line 325 of file alcConfig.c.
References GetConfigValue(), and NULL.
Referenced by alc_initconfig(), alcOpenDevice(), pa_open_capture(), and pa_open_playback().
Definition at line 316 of file alcConfig.c.
References GetConfigValue().
Referenced by alc_initconfig(), alc_oss_init(), alc_solaris_init(), alcOpenDevice(), LoadHrtf(), probe_devices(), and SetSpeakerArrangement().
Definition at line 334 of file alcConfig.c.
References GetConfigValue(), and NULL.
Referenced by alcLoopbackOpenDeviceSOFT(), alcOpenDevice(), and UpdateDeviceParams().
Definition at line 258 of file alcConfig.c.
References cfgCount, entries, free, i, j, and NULL.
Referenced by alc_deinit_safe().
Definition at line 278 of file alcConfig.c.
References cfgCount, entries, i, j, and TRACE.
Referenced by alsa_open_capture(), alsa_open_playback(), ConfigValueExists(), ConfigValueFloat(), ConfigValueInt(), ConfigValueStr(), ConfigValueUInt(), GetConfigValueBool(), probe_devices(), and wave_open_playback().
Definition at line 356 of file alcConfig.c.
References GetConfigValue().
Referenced by alc_initconfig(), alsa_reset_playback(), and UpdateDeviceParams().
|
static |
Definition at line 208 of file alcConfig.c.
References calloc, cfgCount, FALSE, LoadConfigFromFile(), NULL, str, and strdup().
Referenced by alc_initconfig().
|
static |
Definition at line 56 of file alcConfig.c.
|
static |
Definition at line 53 of file alcConfig.c.
Referenced by LoadConfigFromFile().
|
static |
Definition at line 54 of file alcConfig.c.
Referenced by FreeALConfig(), GetConfigValue(), LoadConfigFromFile(), and ReadALConfig().