Method Summary |
|
abstract public void | clearSound(int index) Clear Sound. |
public AuralParameters | getAuralParameters() |
public int | getNumberOfChannelsUsed(int index) Get number of channels used by a particular sample on the audio device. |
public int | getNumberOfChannelsUsed(int index, boolean muteFlag) Get number of channels that would be used by a particular sample on
the audio device given the mute flag passed in as a parameter.
Parameters: index - device specific reference number to device driver sample Parameters: muteFlag - denotes the mute state to assume while executing thisquery. |
public Sample | getSample(int index) Get specific sample from indexed sample list
Checks for valid index before attempting to get sample from list. |
public long | getSampleDuration(int index) Get length of time a sample would play if allowed to play to completion. |
protected ArrayList | getSampleList() |
public int | getSampleListSize() |
public long | getStartTime(int index) Get time this sample begun playing on the audio device. |
public View | getView() Get reference to the current View object. |
abstract public void | muteSample(int index) Mute sample. |
abstract public void | pauseSample(int index) Pause sample. |
public int | prepareSound(int soundType, MediaContainer soundData) Prepare Sound in device. |
public void | setAngularAttenuation(int index, int filterType, double[] angle, float[] attenuationScaleFactor, float[] filterCutoff) Set angular attenuation arrays affecting angular amplitude attenuation
and angular distance filtering. |
public void | setDirection(int index, Vector3d direction) Set direction vector of sample. |
public void | setDistanceFilter(int filterType, double[] dist, float[] filterCutoff) Set distance filter for current aural attribute applied to all samples. |
public void | setDistanceGain(int index, double[] frontDistance, float[] frontAttenuationScaleFactor, double[] backDistance, float[] backAttenuationScaleFactor) |
public void | setFrequencyScaleFactor(float scaleFactor) Set frequency scale factor for current aural attribute applied to all
samples. |
public void | setLoop(int index, int count) Set number of times sample is looped. |
public void | setPosition(int index, Point3d position) Set location of sample. |
public void | setReflectionCoefficient(float coefficient) Set reverberation surface reflection coefficient value for current aural
attribute applied to all samples. |
public void | setReverbDelay(float reverbDelay) Set reverberation delay time for current aural attribute applied to
all samples. |
public void | setReverbOrder(int reverbOrder) Set reverberation order for current aural attribute applied to all
samples. |
public void | setRolloff(float rolloff) Set rolloff value for current aural attribute applied to all samples. |
public void | setSampleGain(int index, float scaleFactor) Set gain scale factor applied to sample. |
public void | setVelocityScaleFactor(float scaleFactor) Set velocity scale factor for current aural attribute applied to all
samples when Doppler is calculated. |
public void | setView(View reference) Save a reference to the current View object. |
public void | setVworldXfrm(int index, Transform3D trans) |
abstract public int | startSample(int index) |
abstract public int | stopSample(int index) |
abstract public void | unmuteSample(int index) Unmute sample. |
abstract public void | unpauseSample(int index) Unpause sample. |
abstract public void | updateSample(int index) Update sample. |