| |
|
| java.lang.Object com.sun.j3d.audioengines.AudioEngine
All known Subclasses: com.sun.j3d.audioengines.AudioEngine3D,
AudioEngine | abstract public class AudioEngine implements AudioDevice(Code) | | The AudioEngine Class defines an audio output device that generates
sound 'image' from scene graph.
An AudioEngine object encapsulates the AudioDevice's basic information.
NOTE: AudioEngine developers should not subclass this class directly.
Subclass AudioEngine3DL2 instead.
|
angleOffsetToSpeaker | float angleOffsetToSpeaker(Code) | | |
audioPlaybackType | int audioPlaybackType(Code) | | |
channelsAvailable | int channelsAvailable(Code) | | |
distanceToSpeaker | float distanceToSpeaker(Code) | | |
fileDescriptor | int fileDescriptor(Code) | | |
totalChannels | int totalChannels(Code) | | |
AudioEngine | public AudioEngine(PhysicalEnvironment physicalEnvironment)(Code) | | Construct a new AudioEngine with the specified P.E.
Parameters: physicalEnvironment - the physical environment object where wewant access to this device. |
close | abstract public boolean close()(Code) | | Code to close the device
flag: true is closed sucessfully, false if error |
getAngleOffsetToSpeaker | public float getAngleOffsetToSpeaker()(Code) | | Get Angle Offset To Speaker
returns value set as angle between vector to speaker and Z head axis
|
getAudioPlaybackType | public int getAudioPlaybackType()(Code) | | Get Type of Audio Playback Output Device
returns audio playback type to which sound is currently output
|
getCenterEarToSpeaker | public float getCenterEarToSpeaker()(Code) | | Get Distance from Ear to Speaker
returns value set as distance from listener's ear to speaker
|
getChannelsAvailable | public int getChannelsAvailable()(Code) | | Query number of channels currently available for use by the
returns number of sound channels currently available (number
not being used by active sounds.
|
getChannelsUsedForSound | public int getChannelsUsedForSound(Sound sound)(Code) | | Query number of channels that would be used to render a particular
sound node.
Parameters: sound - refenence to sound node that query to be performed onreturns number of sound channels used by a specific Sound node |
getTotalChannels | public int getTotalChannels()(Code) | | Query total number of channels available for sound rendering
for this audio device.
returns number of maximum sound channels you can run with this
library/device-driver.
|
initialize | abstract public boolean initialize()(Code) | | Code to initialize the device
flag: true is initialized sucessfully, false if error |
setAngleOffsetToSpeaker | public void setAngleOffsetToSpeaker(float angle)(Code) | | Set Angle Offset To Speaker
Parameters: angle - in radian between head coordinate Z axis and vector to speaker |
setAudioPlaybackType | public void setAudioPlaybackType(int type)(Code) | | Set Type of Audio Playback physical transducer(s) sound is output to.
Valid types are HEADPHONE, MONO_SPEAKER, STEREO_SPEAKERS
Parameters: type - of audio output device |
setCenterEarToSpeaker | public void setCenterEarToSpeaker(float distance)(Code) | | Set Distance from the Center Ear to a Speaker
Parameters: distance - from the center ear and to the speaker |
|
|
|