15 #include "pandabase.h" 17 #include "config_fmodAudio.h" 18 #include "audioManager.h" 19 #include "fmodAudioManager.h" 20 #include "fmodAudioSound.h" 21 #include "pandaSystem.h" 24 ConfigureDef(config_fmodAudio);
25 NotifyCategoryDef(fmodAudio,
":audio");
27 ConfigureFn(config_fmodAudio) {
32 (
"fmod-audio-preload-threshold", 1048576,
33 PRC_DESC(
"Files that are smaller " 34 "than this number of bytes will be preloaded and kept " 35 "resident in memory, while files that are this size or larger " 36 "will be streamed from disk. Set this to -1 to preload " 49 static bool initialized =
false;
55 FmodAudioManager::init_type();
56 FmodAudioSound::init_type();
70 Create_AudioManager_proc *
71 get_audio_manager_func_fmod_audio() {
73 return &Create_FmodAudioManager;
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 an integer 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.