|
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
} |
|
|
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 ()=0 |
|
virtual bool | configure_filters (FilterProperties *config) |
| Configures the global DSP filter chain.
|
|
virtual TypeHandle | force_init_type () |
|
virtual bool | get_active () const =0 |
|
virtual unsigned int | get_cache_limit () const =0 |
|
virtual unsigned int | get_concurrent_sound_limit () const =0 |
|
virtual int | get_speaker_setup () |
|
virtual TypeHandle | get_type () const |
|
virtual PN_stdfloat | get_volume () const =0 |
|
virtual bool | is_valid ()=0 |
|
virtual void | output (std::ostream &out) const |
|
| PT (AudioSound) get_null_sound() |
|
virtual | PT (AudioSound) get_sound(const Filename &file_name |
|
virtual | PT (AudioSound) get_sound(MovieAudio *source |
|
virtual void | reduce_sounds_playing_to (unsigned int count)=0 |
|
virtual void | set_active (bool flag)=0 |
|
virtual void | set_cache_limit (unsigned int count)=0 |
|
virtual void | set_concurrent_sound_limit (unsigned int limit=0)=0 |
|
virtual void | set_speaker_configuration (LVecBase3 *speaker1, LVecBase3 *speaker2=nullptr, LVecBase3 *speaker3=nullptr, LVecBase3 *speaker4=nullptr, LVecBase3 *speaker5=nullptr, LVecBase3 *speaker6=nullptr, LVecBase3 *speaker7=nullptr, LVecBase3 *speaker8=nullptr, LVecBase3 *speaker9=nullptr) |
| For use only with Miles.
|
|
virtual void | set_speaker_setup (SpeakerModeCategory cat) |
|
virtual void | set_volume (PN_stdfloat volume)=0 |
|
virtual void | shutdown () |
| Call this at exit time to shut down the audio system.
|
|
virtual void | stop_all_sounds ()=0 |
|
virtual void | uncache_sound (const Filename &file_name)=0 |
|
virtual void | update () |
| Must be called every frame.
|
|
virtual void | write (std::ostream &out) const |
|
| TypedReferenceCount (const TypedReferenceCount ©) |
|
void | operator= (const TypedReferenceCount ©) |
|
| TypedObject (const TypedObject ©)=default |
|
TypedObject * | as_typed_object () |
| Returns the object, upcast (if necessary) to a TypedObject pointer.
|
|
const TypedObject * | as_typed_object () const |
| Returns the object, upcast (if necessary) to a TypedObject pointer.
|
|
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.
|
|
bool | is_exact_type (TypeHandle handle) const |
| Returns true if the current object is the indicated type exactly.
|
|
bool | is_of_type (TypeHandle handle) const |
| Returns true if the current object is or derives from the indicated type.
|
|
TypedObject & | operator= (const TypedObject ©)=default |
|
void | operator delete (void *, void *) |
|
void | operator delete (void *ptr) |
|
void | operator delete[] (void *, void *) |
|
void | operator delete[] (void *ptr) |
|
void * | operator new (size_t size) |
|
void * | operator new (size_t size, void *ptr) |
|
void * | operator new[] (size_t size) |
|
void * | operator new[] (size_t size, void *ptr) |
|
int | get_ref_count () const |
|
WeakReferenceList * | get_weak_list () const |
| Returns the WeakReferenceList associated with this ReferenceCount object.
|
|
bool | has_weak_list () const |
| Returns true if this particular ReferenceCount object has a WeakReferenceList created, false otherwise.
|
|
void | local_object () |
| This function should be called, once, immediately after creating a new instance of some ReferenceCount-derived object on the stack.
|
|
void | ref () const |
| Explicitly increments the reference count.
|
|
bool | ref_if_nonzero () const |
| Atomically increases the reference count of this object if it is not zero.
|
|
bool | test_ref_count_integrity () const |
| Does some easy checks to make sure that the reference count isn't completely bogus.
|
|
bool | test_ref_count_nonzero () const |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
|
virtual bool | unref () const |
| Explicitly decrements the reference count.
|
|
bool | unref_if_one () const |
| Atomically decreases the reference count of this object if it is one.
|
|
WeakReferenceList * | weak_ref () |
| Adds the indicated PointerToVoid as a weak reference to this object.
|
|
void | weak_unref () |
| Removes the indicated PointerToVoid as a weak reference to this object.
|
|
Definition at line 28 of file audioManager.h.