38 set_3d_attributes(PN_stdfloat px, PN_stdfloat py, PN_stdfloat pz, PN_stdfloat vx, PN_stdfloat vy, PN_stdfloat vz) {
43 get_3d_attributes(PN_stdfloat *px, PN_stdfloat *py, PN_stdfloat *pz, PN_stdfloat *vx, PN_stdfloat *vy, PN_stdfloat *vz) {
48 set_3d_min_distance(PN_stdfloat dist) {
52 PN_stdfloat AudioSound::
53 get_3d_min_distance()
const {
59 set_3d_max_distance(PN_stdfloat dist) {
63 PN_stdfloat AudioSound::
64 get_3d_max_distance()
const {
82 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) {
99 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) {
133 set_priority(
int priority) {
142 output(ostream &out)
const {
143 out << get_type() <<
" " << get_name() <<
" " << status();
150 write(ostream &out)
const {
151 out << (*this) <<
"\n";
158 operator << (ostream &out, AudioSound::SoundStatus status) {
160 case AudioSound::BAD:
163 case AudioSound::READY:
164 return out <<
"READY";
166 case AudioSound::PLAYING:
167 return out <<
"PLAYING";
170 return out <<
"**invalid AudioSound::SoundStatus(" << (int)status <<
")**";
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.