Panda3D
Public Member Functions | Static Public Member Functions | Friends

NullAudioSound Class Reference

Inheritance diagram for NullAudioSound:
AudioSound TypedReferenceCount TypedObject ReferenceCount MemoryBase MemoryBase

List of all members.

Public Member Functions

 NullAudioSound ()
 All of these functions are just stubs.
virtual TypeHandle force_init_type ()
void get_3d_attributes (float *px, float *py, float *pz, float *vx, float *vy, float *vz)
float get_3d_max_distance () const
float get_3d_min_distance () const
bool get_active () const
float get_balance () const
const string & get_finished_event () const
bool get_loop () const
unsigned long get_loop_count () const
const string & get_name () const
float get_play_rate () const
float get_time () const
virtual TypeHandle get_type () const
float get_volume () const
float length () const
void play ()
void set_3d_attributes (float px, float py, float pz, float vx, float vy, float vz)
void set_3d_max_distance (float dist)
void set_3d_min_distance (float dist)
void set_active (bool)
void set_balance (float)
void set_finished_event (const string &event)
void set_loop (bool)
void set_loop_count (unsigned long)
void set_play_rate (float)
void set_time (float)
void set_volume (float)
AudioSound::SoundStatus status () const
void stop ()

Static Public Member Functions

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.

Friends

class NullAudioManager

Detailed Description

Definition at line 25 of file nullAudioSound.h.


Constructor & Destructor Documentation

NullAudioSound::NullAudioSound ( )

All of these functions are just stubs.

Definition at line 30 of file nullAudioSound.cxx.


Member Function Documentation

static void NullAudioSound::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from AudioSound.

Definition at line 81 of file nullAudioSound.h.

References AudioSound::init_type().


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations