| |
|
| java.lang.Object com.sun.j3d.audioengines.Sample com.sun.j3d.audioengines.javasound.JSSample
All known Subclasses: com.sun.j3d.audioengines.javasound.JSPositionalSample,
BUFFERED_AUDIO_DATA | final static int BUFFERED_AUDIO_DATA(Code) | | Sound data specified as Buffered is copied by the AudioDevice
driver implementation.
|
BUFFERED_MIDI_DATA | final static int BUFFERED_MIDI_DATA(Code) | | |
NULL_SAMPLE | final static int NULL_SAMPLE(Code) | | |
STREAMING_AUDIO_DATA | final static int STREAMING_AUDIO_DATA(Code) | | Sound Data Types
Samples can be processed as streaming or buffered data.
Fully spatializing sound sources may require data to be buffered.
Sound data specified as Streaming is not copied by the AudioDevice
driver implementation. It is up the application to ensure that
this data is continuously accessible during sound rendering.
Futhermore, full sound spatialization may not be possible, for
all AudioDevice implementations on unbuffered sound data.
|
STREAMING_MIDI_DATA | final static int STREAMING_MIDI_DATA(Code) | | MIDI data
TODO: differentiate between STREAMING and BUFFERED MIDI data
right now all MIDI data is buffered
|
UNSUPPORTED_DATA_TYPE | final static int UNSUPPORTED_DATA_TYPE(Code) | | |
attackLength | long attackLength(Code) | | |
currentRateRatio | float currentRateRatio(Code) | | |
dataOffset | long dataOffset(Code) | | Offset pointer within currently playing sample data
|
dataType | int dataType(Code) | | sound data types: BUFFERED (cached) or STREAMING (non-cached)
|
loopLength | long loopLength(Code) | | |
loopStartOffset | long loopStartOffset(Code) | | |
positionDeactivated | long positionDeactivated(Code) | | |
rampRateFlag | boolean rampRateFlag(Code) | | |
rateRatio | float rateRatio(Code) | | |
releaseLength | long releaseLength(Code) | | |
sampleLength | long sampleLength(Code) | | |
targetRateRatio | float targetRateRatio(Code) | | |
timeDeactivated | long timeDeactivated(Code) | | |
JSSample | public JSSample()(Code) | | |
clear | public void clear()(Code) | | Clears/re-initialize fields associated with sample data for
this sound,
and frees any device specific data associated with this sample.
|
getCurrentRateRatio | float getCurrentRateRatio()(Code) | | |
getDataType | int getDataType()(Code) | | |
getFilterFlag | boolean getFilterFlag()(Code) | | |
getFilterFreq | float getFilterFreq()(Code) | | |
getRampRateFlag | boolean getRampRateFlag()(Code) | | |
getTargetRateRatio | float getTargetRateRatio()(Code) | | |
setCurrentRateRatio | void setCurrentRateRatio(float ratio)(Code) | | |
setDataType | void setDataType(int type)(Code) | | |
setRampRateFlag | void setRampRateFlag(boolean flag)(Code) | | |
setTargetRateRatio | void setTargetRateRatio(float ratio)(Code) | | |
|
|
|