Panda3D
Functions | Variables
config_fmodAudio.cxx File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "config_fmodAudio.h"
#include "audioManager.h"
#include "fmodAudioManager.h"
#include "fmodAudioSound.h"
#include "pandaSystem.h"
#include "dconfig.h"

Go to the source code of this file.

Functions

 ConfigureDef (config_fmodAudio)
 
 ConfigureFn (config_fmodAudio)
 
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 function appropriate to create a FmodAudioManager. More...
 
void init_libFmodAudio ()
 Initializes the library. More...
 
 NotifyCategoryDef (fmodAudio, ":audio")
 

Variables

ConfigVariableInt fmod_audio_preload_threshold ("fmod-audio-preload-threshold", 1048576, PRC_DESC("Files that are smaller " "than this number of bytes will be preloaded and kept " "resident in memory, while files that are this size or larger " "will be streamed from disk. Set this to -1 to preload " "every file."))
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
cort

Definition in file config_fmodAudio.cxx.

Function Documentation

◆ get_audio_manager_func_fmod_audio()

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 function appropriate to create a FmodAudioManager.

Definition at line 72 of file config_fmodAudio.cxx.

References Create_FmodAudioManager(), and init_libFmodAudio().

◆ init_libFmodAudio()

void init_libFmodAudio ( )

Initializes the library.

This must be called at least once before any of the functions or classes in this library can be used. Normally it will be called by the static initializers and need not be called explicitly, but special cases exist.

Definition at line 48 of file config_fmodAudio.cxx.

References PandaSystem::add_system(), Create_FmodAudioManager(), PandaSystem::get_global_ptr(), and PandaSystem::set_system_tag().

Referenced by get_audio_manager_func_fmod_audio().