16 #include "audioSound.h"
41 set_3d_attributes(PN_stdfloat px, PN_stdfloat py, PN_stdfloat pz, PN_stdfloat vx, PN_stdfloat vy, PN_stdfloat vz) {
46 get_3d_attributes(PN_stdfloat *px, PN_stdfloat *py, PN_stdfloat *pz, PN_stdfloat *vx, PN_stdfloat *vy, PN_stdfloat *vz) {
51 set_3d_min_distance(PN_stdfloat dist) {
55 PN_stdfloat AudioSound::
56 get_3d_min_distance()
const {
62 set_3d_max_distance(PN_stdfloat dist) {
66 PN_stdfloat AudioSound::
67 get_3d_max_distance()
const {
89 set_speaker_mix(PN_stdfloat frontleft, PN_stdfloat frontright, PN_stdfloat center, PN_stdfloat sub, PN_stdfloat backleft, PN_stdfloat backright, PN_stdfloat sideleft, PN_stdfloat sideright) {
110 set_speaker_levels(PN_stdfloat level1, PN_stdfloat level2, PN_stdfloat level3, PN_stdfloat level4, PN_stdfloat level5, PN_stdfloat level6, PN_stdfloat level7, PN_stdfloat level8, PN_stdfloat level9) {
152 set_priority(
int priority) {
163 output(ostream &out)
const {
164 out << get_type() <<
" " << get_name() <<
" " << status();
173 write(ostream &out)
const {
174 out << (*this) <<
"\n";
182 operator << (ostream &out, AudioSound::SoundStatus status) {
184 case AudioSound::BAD:
187 case AudioSound::READY:
188 return out <<
"READY";
190 case AudioSound::PLAYING:
191 return out <<
"PLAYING";
194 return out <<
"**invalid AudioSound::SoundStatus(" << (int)status <<
")**";
Stores a configuration for a set of audio DSP filters.
virtual void set_speaker_mix(PN_stdfloat frontleft, PN_stdfloat frontright, PN_stdfloat center, PN_stdfloat sub, PN_stdfloat backleft, PN_stdfloat backright, PN_stdfloat sideleft, PN_stdfloat sideright)
For use only with FMOD.
const ConfigVector & get_config()
Intended for use by AudioManager and AudioSound implementations: allows access to the config vector...
virtual bool configure_filters(FilterProperties *config)
Configure the local DSP filter chain.
virtual PN_stdfloat get_speaker_mix(int speaker)
For use only with FMOD.
virtual void set_speaker_levels(PN_stdfloat level1, PN_stdfloat level2=-1.0f, PN_stdfloat level3=-1.0f, PN_stdfloat level4=-1.0f, PN_stdfloat level5=-1.0f, PN_stdfloat level6=-1.0f, PN_stdfloat level7=-1.0f, PN_stdfloat level8=-1.0f, PN_stdfloat level9=-1.0f)
For use only with Miles.
TypeHandle is the identifier used to differentiate C++ class types.
virtual PN_stdfloat get_speaker_level(int index)
For use only with Miles.