22 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_FMOD_AUDIO) 23 #error Buildsystem error: BUILDING_FMOD_AUDIO not defined 26 ConfigureDef(config_fmodAudio);
27 NotifyCategoryDef(fmodAudio,
":audio");
29 ConfigureFn(config_fmodAudio) {
34 (
"fmod-audio-preload-threshold", 1048576,
35 PRC_DESC(
"Files that are smaller " 36 "than this number of bytes will be preloaded and kept " 37 "resident in memory, while files that are this size or larger " 38 "will be streamed from disk. Set this to -1 to preload " 49 static bool initialized =
false;
55 FmodAudioManager::init_type();
56 FmodAudioSound::init_type();
71 Create_AudioManager_proc *
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
Create_AudioManager_proc * get_audio_manager_func_fmod_audio()
This function is called when the dynamic library is loaded; it should return the Create_AudioManager ...
void init_libFmodAudio()
Initializes the library.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class is used as a namespace to group several global properties of Panda.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
AudioManager * Create_FmodAudioManager()
Factory Function.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void add_system(const std::string &system)
Intended for use by each subsystem to register itself at startup.
void set_system_tag(const std::string &system, const std::string &tag, const std::string &value)
Intended for use by each subsystem to register its set of capabilities at startup.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is a convenience class to specialize ConfigVariable as an integer type.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.