15 #include "pandabase.h" 17 #include "config_openalAudio.h" 18 #include "openalAudioManager.h" 19 #include "openalAudioSound.h" 20 #include "pandaSystem.h" 23 ConfigureDef(config_openalAudio);
24 NotifyCategoryDef(openalAudio,
":audio");
26 ConfigureFn(config_openalAudio) {
27 init_libOpenALAudio();
32 PRC_DESC(
"Specify the OpenAL device string for audio playback (no quotes). If this " 33 "is not specified, the OpenAL default device is used."));
45 init_libOpenALAudio() {
46 static bool initialized =
false;
52 OpenALAudioManager::init_type();
53 OpenALAudioSound::init_type();
67 Create_AudioManager_proc *
68 get_audio_manager_func_openal_audio() {
69 init_libOpenALAudio();
70 return &Create_OpenALAudioManager;
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
This class is used as a namespace to group several global properties of Panda.
void add_system(const string &system)
Intended for use by each subsystem to register itself at startup.
This is a convenience class to specialize ConfigVariable as a string type.
void set_system_tag(const string &system, const string &tag, const string &value)
Intended for use by each subsystem to register its set of capabilities at startup.