| |
|
| java.lang.Object javax.media.j3d.SoundSchedulerAtom
SoundSchedulerAtom | class SoundSchedulerAtom extends Object (Code) | | A SoundSchedulerAtom is the smallest object representing a Sound within
SoundScheduler. This class contains View-Depedent fields. Some of these
fields may appear to over lap fields in the Sound Node classes, but
remember that the Sound Node fields are universal, user-defined fields
and do not take into account specific Audio Device view-dependent
conditions.
|
COMPLETE | final static int COMPLETE(Code) | | |
DO_NOTHING | final static int DO_NOTHING(Code) | | Pending action for this sound determined by the SoundScheduler
|
LEAVE_AUDIBLE | final static int LEAVE_AUDIBLE(Code) | | |
LEAVE_OFF | final static int LEAVE_OFF(Code) | | |
LEAVE_PAUSED | final static int LEAVE_PAUSED(Code) | | |
LEAVE_SILENT | final static int LEAVE_SILENT(Code) | | |
MAKE_AUDIBLE | final static int MAKE_AUDIBLE(Code) | | |
MAKE_SILENT | final static int MAKE_SILENT(Code) | | |
MUTED | final static int MUTED(Code) | | |
OFF | final static int OFF(Code) | | Switch for turning sound on or off while the sound is "active"
|
PAUSED | final static int PAUSED(Code) | | |
PAUSE_AUDIBLE | final static int PAUSE_AUDIBLE(Code) | | |
PAUSE_SILENT | final static int PAUSE_SILENT(Code) | | |
PENDING_MUTE | final static int PENDING_MUTE(Code) | | |
PENDING_OFF | final static int PENDING_OFF(Code) | | |
PENDING_ON | final static int PENDING_ON(Code) | | |
PENDING_PAUSE | final static int PENDING_PAUSE(Code) | | |
PENDING_UNMUTE | final static int PENDING_UNMUTE(Code) | | |
PENDING_UNPAUSE | final static int PENDING_UNPAUSE(Code) | | |
RESTART_AUDIBLE | final static int RESTART_AUDIBLE(Code) | | |
RESTART_SILENT | final static int RESTART_SILENT(Code) | | |
RESUME_AUDIBLE | final static int RESUME_AUDIBLE(Code) | | |
RESUME_SILENT | final static int RESUME_SILENT(Code) | | |
SOUND_AUDIBLE | final static int SOUND_AUDIBLE(Code) | | |
SOUND_COMPLETE | final static int SOUND_COMPLETE(Code) | | |
SOUND_OFF | final static int SOUND_OFF(Code) | | This status flag is used for sound scheduling
|
SOUND_PAUSED | final static int SOUND_PAUSED(Code) | | |
SOUND_SILENT | final static int SOUND_SILENT(Code) | | |
START_AUDIBLE | final static int START_AUDIBLE(Code) | | |
START_SILENT | final static int START_SILENT(Code) | | |
TURN_OFF | final static int TURN_OFF(Code) | | |
UNMUTED | final static int UNMUTED(Code) | | Switch for muting and unmuting sound while it is playing
|
UNPAUSED | final static int UNPAUSED(Code) | | Switch for pausing and unpausing sound while it is playing
|
UPDATE | final static int UPDATE(Code) | | |
activated | boolean activated(Code) | | Is this sound in an active scheduling region
|
attackLength | long attackLength(Code) | | |
attribsDirty | int attribsDirty(Code) | | attribsDirty bit field
This bitmask is set when sound node attribute is changed by the user.
|
debugFlag | final static boolean debugFlag(Code) | | |
internalErrors | final static boolean internalErrors(Code) | | |
loadStatus | int loadStatus(Code) | | |
loopLength | long loopLength(Code) | | |
loopStartOffset | long loopStartOffset(Code) | | |
numberChannels | int numberChannels(Code) | | |
releaseLength | long releaseLength(Code) | | |
sampleId | int sampleId(Code) | | Identifiers of sample associated with sound source
|
sampleLength | long sampleLength(Code) | | |
schedulingAction | int schedulingAction(Code) | | |
soundScheduler | SoundScheduler soundScheduler(Code) | | reference to Sound Scheduler this atom is associated with
|
startTime | long startTime(Code) | | |
stateDirty | int stateDirty(Code) | | stateDirty bit field
This bitmask is set when scene graph state is changed.
|
calcActiveSchedAction | synchronized int calcActiveSchedAction()(Code) | | calcActiveSchedAction()
Calculate Sound Scheduler Action for Active sound (it's region
intersects the viewPlatform).
A big switch testing various SoundRetained fields to determine
what SoundScheduler action to perform when sound is Active
set sound active flag true
switch on enable value, to set pending scheduling action
depending on continuous and release flags and sound status
|
calcInactiveSchedAction | synchronized int calcInactiveSchedAction()(Code) | | calcInactiveSchedAction()
Calculate Sound Scheduler action for Inactive sound
A big switch testing various SoundRetained fields to determine
what SoundScheduler action to perform when sound is inactive.
set sound active flag false
switch on enable value, to set pending scheduling action
depending on continuous and release flags and sound status
|
calculateEndTime | synchronized void calculateEndTime()(Code) | | Calculate absolute time at which sample completes
Checks playing flag denoting if sound is started already or not:
false - calcalutes endTime in relation to startTime
true - re-calculates endTime based on current position in
loop portion of sample plus release length
|
clearAttribsDirtyFlag | void clearAttribsDirtyFlag(int bitFlag)(Code) | | Clear sound's dirty flag bit value.
Parameters: binary - flag denotes bits to set OFF |
clearAttribsDirtyFlag | void clearAttribsDirtyFlag()(Code) | | |
clearStateDirtyFlag | void clearStateDirtyFlag(int bitFlag)(Code) | | |
clearStateDirtyFlag | void clearStateDirtyFlag()(Code) | | |
enable | void enable(boolean enabled)(Code) | | |
mute | void mute(boolean muted)(Code) | | |
pause | void pause(boolean paused)(Code) | | |
setAttribsDirtyFlag | void setAttribsDirtyFlag(int bitFlag)(Code) | | Set bit(s) in soundDirty field
Parameters: binary - flag denotes bits to set ON |
setEnableState | void setEnableState(int state)(Code) | | |
setMuteState | void setMuteState(int state)(Code) | | |
setPauseState | void setPauseState(int state)(Code) | | |
setStateDirtyFlag | void setStateDirtyFlag(int bitFlag)(Code) | | |
testDirtyFlag | boolean testDirtyFlag(int field, int bitFlag)(Code) | | Test sound's dirty flag bit(s)
Parameters: field - denotes which bitmask to set into Parameters: binary - flag denotes bits to set Test true if bit(s) in bitFlag are set dirty (on) |
testDirtyFlags | boolean testDirtyFlags()(Code) | | Test sound's dirty flags for ANY bits on
true if any bit in bitFlag is flipped on |
|
|
|