public interface AudioSource
Modifier and Type | Interface and Description |
---|---|
static class |
AudioSource.Status
Status indicates the current status of the audio source. |
Modifier and Type | Method and Description |
---|---|
AudioData |
getAudioData() |
int |
getChannel()
Do not use.
|
Vector3f |
getDirection() |
Filter |
getDryFilter() |
float |
getInnerAngle() |
float |
getMaxDistance() |
float |
getOuterAngle() |
float |
getPitch() |
float |
getPlaybackTime() |
Vector3f |
getPosition() |
float |
getRefDistance() |
Filter |
getReverbFilter() |
AudioSource.Status |
getStatus() |
float |
getTimeOffset() |
Vector3f |
getVelocity() |
float |
getVolume() |
boolean |
isDirectional() |
boolean |
isLooping() |
boolean |
isPositional() |
boolean |
isReverbEnabled() |
void |
setChannel(int channel)
Do not use.
|
void |
setStatus(AudioSource.Status status)
Do not use.
|
void setChannel(int channel)
int getChannel()
Filter getDryFilter()
AudioNode.setDryFilter(com.jme3.audio.Filter)
AudioData getAudioData()
AudioData
set previously with
AudioNode.setAudioData(com.jme3.audio.AudioData, com.jme3.audio.AudioKey)
or any of the constructors that initialize the audio data.void setStatus(AudioSource.Status status)
AudioSource.Status getStatus()
AudioSource.Status
of the audio source.
The status will be changed when either the AudioNode.play()
or AudioNode.stop()
methods are called.boolean isLooping()
AudioNode.setLooping(boolean)
float getPitch()
AudioNode.setPitch(float)
float getVolume()
AudioNode.setVolume(float)
float getTimeOffset()
float getPlaybackTime()
Vector3f getPosition()
Vector3f getVelocity()
AudioNode.setVelocity(com.jme3.math.Vector3f)
boolean isReverbEnabled()
AudioNode.setReverbEnabled(boolean)
Filter getReverbFilter()
AudioNode.setReverbFilter(com.jme3.audio.Filter)
float getMaxDistance()
AudioNode.setMaxDistance(float)
float getRefDistance()
AudioNode.setRefDistance(float)
boolean isDirectional()
AudioNode.setDirectional(boolean)
Vector3f getDirection()
AudioNode.setDirection(com.jme3.math.Vector3f)
float getInnerAngle()
AudioNode.setInnerAngle(float)
float getOuterAngle()
AudioNode.setOuterAngle(float)
boolean isPositional()
AudioNode.setPositional(boolean)