|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.sun.j3d.audioengines.AudioEngine
A AudioEngine object encapsulates the AudioDevice's basic information.
| Fields inherited from interface javax.media.j3d.AudioDevice |
HEADPHONES, MONO_SPEAKER, STEREO_SPEAKERS |
| Constructor Summary | |
AudioEngine(javax.media.j3d.PhysicalEnvironment physicalEnvironment)
Construct a new AudioEngine with the specified P.E. |
|
| Method Summary | |
boolean |
close()
Code to close the device |
float |
getAngleOffsetToSpeaker()
Get Angle Offset To Speaker |
int |
getAudioPlaybackType()
Get Type of Audio Playback Output Device |
float |
getCenterEarToSpeaker()
Get Distance from Ear to Speaker |
int |
getChannelsAvailable()
Query number of channels currently available for use by the |
int |
getChannelsUsedForSound(javax.media.j3d.Sound sound)
Deprecated. This method is now part of the Sound class |
int |
getTotalChannels()
Query total number of channels available for sound rendering for this audio device. |
boolean |
initialize()
Code to initialize the device |
void |
setAngleOffsetToSpeaker(float angle)
Set Angle Offset To Speaker |
void |
setAudioPlaybackType(int type)
Set Type of Audio Playback physical transducer(s) sound is output to. |
void |
setCenterEarToSpeaker(float distance)
Set Distance from the Center Ear to a Speaker |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AudioEngine(javax.media.j3d.PhysicalEnvironment physicalEnvironment)
physicalEnvironment - the physical environment object where we
want access to this device.| Method Detail |
public boolean initialize()
initialize in interface javax.media.j3d.AudioDevicepublic boolean close()
close in interface javax.media.j3d.AudioDevicepublic void setAudioPlaybackType(int type)
setAudioPlaybackType in interface javax.media.j3d.AudioDevicetype - of audio output devicepublic int getAudioPlaybackType()
getAudioPlaybackType in interface javax.media.j3d.AudioDevicepublic void setCenterEarToSpeaker(float distance)
setCenterEarToSpeaker in interface javax.media.j3d.AudioDevicedistance - from the center ear and to the speakerpublic float getCenterEarToSpeaker()
getCenterEarToSpeaker in interface javax.media.j3d.AudioDevicepublic void setAngleOffsetToSpeaker(float angle)
setAngleOffsetToSpeaker in interface javax.media.j3d.AudioDeviceangle - in radian between head coordinate Z axis and vector to speakerpublic float getAngleOffsetToSpeaker()
getAngleOffsetToSpeaker in interface javax.media.j3d.AudioDevicepublic int getTotalChannels()
getTotalChannels in interface javax.media.j3d.AudioDevicepublic int getChannelsAvailable()
getChannelsAvailable in interface javax.media.j3d.AudioDevicepublic int getChannelsUsedForSound(javax.media.j3d.Sound sound)
getChannelsUsedForSound in interface javax.media.j3d.AudioDevicesound - refenence to sound node that query to be performed on
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||