Panda3D
 All Classes Functions Variables Enumerations
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
NullAudioManager Class Reference
Inheritance diagram for NullAudioManager:
AudioManager TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

Public Member Functions

virtual PN_stdfloat audio_3d_get_distance_factor () const
 
virtual PN_stdfloat audio_3d_get_doppler_factor () const
 
virtual PN_stdfloat audio_3d_get_drop_off_factor () const
 
virtual void audio_3d_get_listener_attributes (PN_stdfloat *px, PN_stdfloat *py, PN_stdfloat *pz, PN_stdfloat *vx, PN_stdfloat *vy, PN_stdfloat *vz, PN_stdfloat *fx, PN_stdfloat *fy, PN_stdfloat *fz, PN_stdfloat *ux, PN_stdfloat *uy, PN_stdfloat *uz)
 
virtual void audio_3d_set_distance_factor (PN_stdfloat factor)
 
virtual void audio_3d_set_doppler_factor (PN_stdfloat factor)
 
virtual void audio_3d_set_drop_off_factor (PN_stdfloat factor)
 
virtual void audio_3d_set_listener_attributes (PN_stdfloat px, PN_stdfloat py, PN_stdfloat pz, PN_stdfloat vx, PN_stdfloat vy, PN_stdfloat vz, PN_stdfloat fx, PN_stdfloat fy, PN_stdfloat fz, PN_stdfloat ux, PN_stdfloat uy, PN_stdfloat uz)
 
virtual void clear_cache ()
 
virtual TypeHandle force_init_type ()
 
virtual bool get_active () const
 
virtual unsigned int get_cache_limit () const
 
virtual unsigned int get_concurrent_sound_limit () const
 
virtual PN_stdfloat get_play_rate () const
 
virtual TypeHandle get_type () const
 
virtual PN_stdfloat get_volume () const
 
virtual bool is_valid ()
 
virtual PT (AudioSound) get_sound(const string &
 
virtual PT (AudioSound) get_sound(MovieAudio *sound
 
virtual void reduce_sounds_playing_to (unsigned int count)
 
virtual void set_active (bool)
 
virtual void set_cache_limit (unsigned int)
 
virtual void set_concurrent_sound_limit (unsigned int limit)
 
virtual void set_play_rate (PN_stdfloat)
 
virtual void set_volume (PN_stdfloat)
 
virtual void stop_all_sounds ()
 
virtual void uncache_sound (const string &)
 
- Public Member Functions inherited from AudioManager
virtual bool configure_filters (FilterProperties *config)
 Configures the global DSP filter chain. More...
 
virtual int getSpeakerSetup ()
 
virtual void output (ostream &out) const
 
 PT (AudioSound) get_null_sound()
 
virtual void set_speaker_configuration (LVecBase3 *speaker1, LVecBase3 *speaker2=NULL, LVecBase3 *speaker3=NULL, LVecBase3 *speaker4=NULL, LVecBase3 *speaker5=NULL, LVecBase3 *speaker6=NULL, LVecBase3 *speaker7=NULL, LVecBase3 *speaker8=NULL, LVecBase3 *speaker9=NULL)
 For use only with Miles. More...
 
virtual void setSpeakerSetup (SpeakerModeCategory cat)
 
virtual void shutdown ()
 Call this at exit time to shut down the audio system. More...
 
virtual void update ()
 Must be called every frame. More...
 
virtual void write (ostream &out) const
 
- Public Member Functions inherited from TypedReferenceCount
 TypedReferenceCount (const TypedReferenceCount &copy)
 
void operator= (const TypedReferenceCount &copy)
 
- Public Member Functions inherited from TypedObject
 TypedObject (const TypedObject &copy)
 
TypedObjectas_typed_object ()
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
const TypedObjectas_typed_object () const
 Returns the object, upcast (if necessary) to a TypedObject pointer. More...
 
int get_best_parent_from_Set (const std::set< int > &) const
 
int get_type_index () const
 Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. More...
 
bool is_exact_type (TypeHandle handle) const
 Returns true if the current object is the indicated type exactly. More...
 
bool is_of_type (TypeHandle handle) const
 Returns true if the current object is or derives from the indicated type. More...
 
void operator= (const TypedObject &copy)
 
- Public Member Functions inherited from ReferenceCount
int get_ref_count () const
 Returns the current reference count. More...
 
WeakReferenceListget_weak_list () const
 Returns the WeakReferenceList associated with this ReferenceCount object. More...
 
bool has_weak_list () const
 Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise. More...
 
void local_object ()
 This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack. More...
 
void ref () const
 Explicitly increments the reference count. More...
 
bool test_ref_count_integrity () const
 Does some easy checks to make sure that the reference count isn't completely bogus. More...
 
bool test_ref_count_nonzero () const
 Does some easy checks to make sure that the reference count isn't zero, or completely bogus. More...
 
virtual bool unref () const
 Explicitly decrements the reference count. More...
 
void weak_ref (WeakPointerToVoid *ptv)
 Adds the indicated PointerToVoid as a weak reference to this object. More...
 
void weak_unref (WeakPointerToVoid *ptv)
 Removes the indicated PointerToVoid as a weak reference to this object. More...
 

Static Public Member Functions

static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from AudioManager
static TypeHandle get_class_type ()
 
static Filename get_dls_pathname ()
 Returns the full pathname to the DLS file, as specified by the Config.prc file, or the default for the current OS if appropriate. More...
 
static void init_type ()
 
static PT (AudioManager) create_AudioManager()
 
static void register_AudioManager_creator (Create_AudioManager_proc *proc)
 
- Static Public Member Functions inherited from TypedReferenceCount
static TypeHandle get_class_type ()
 
static void init_type ()
 
- Static Public Member Functions inherited from TypedObject
static TypeHandle get_class_type ()
 
static void init_type ()
 This function is declared non-inline to work around a compiler bug in g++ 2.96. More...
 
- Static Public Member Functions inherited from ReferenceCount
static TypeHandle get_class_type ()
 
static void init_type ()
 

Public Attributes

virtual bool int mode =SM_heuristic)
 
virtual bool positional = false
 
- Public Attributes inherited from AudioManager
virtual bool int mode =SM_heuristic) = 0
 
virtual bool positional = false
 

Additional Inherited Members

- Public Types inherited from AudioManager
enum  SpeakerId {
  SPK_none, SPK_frontleft, SPK_frontright, SPK_center,
  SPK_sub, SPK_backleft, SPK_backright, SPK_sideleft,
  SPK_sideright, SPK_COUNT
}
 
enum  SpeakerModeCategory {
  SPEAKERMODE_raw, SPEAKERMODE_mono, SPEAKERMODE_stereo, SPEAKERMODE_quad,
  SPEAKERMODE_surround, SPEAKERMODE_5point1, SPEAKERMODE_7point1, SPEAKERMODE_max,
  SPEAKERMODE_COUNT
}
 
enum  StreamMode { SM_heuristic, SM_sample, SM_stream }
 

Detailed Description

Definition at line 22 of file nullAudioManager.h.


The documentation for this class was generated from the following files: