Finalize AL_SOFT_UHJ
[openal-soft.git] / alc / alconfig.h
blob57733acb8d8a84cf1c0a6d38da70097a3bd8b2c7
1 #ifndef ALCONFIG_H
2 #define ALCONFIG_H
4 #include <string>
6 #include "aloptional.h"
8 void ReadALConfig();
10 int GetConfigValueBool(const char *devName, const char *blockName, const char *keyName, int def);
12 al::optional<std::string> ConfigValueStr(const char *devName, const char *blockName, const char *keyName);
13 al::optional<int> ConfigValueInt(const char *devName, const char *blockName, const char *keyName);
14 al::optional<unsigned int> ConfigValueUInt(const char *devName, const char *blockName, const char *keyName);
15 al::optional<float> ConfigValueFloat(const char *devName, const char *blockName, const char *keyName);
16 al::optional<bool> ConfigValueBool(const char *devName, const char *blockName, const char *keyName);
18 #endif /* ALCONFIG_H */