| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private static Map | |
| private static Class | |
| private static Constructor | |
| private final long | |
| private float | |
| pack-priv volatile boolean | |
| private final Vec3f | |
| private static Mixer | |
| pack-priv volatile boolean | |
| private final Vec3f | |
| pack-priv volatile boolean | |
| pack-priv volatile Object | |
| private volatile ArrayList |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv synchronized void | |
| private static native void | |
| private static native long | |
| public static Mixer | |
| private static native ByteBuffer | |
| private static native long | |
| private static native int | |
| private static native long | |
| private static native boolean | |
| private static ByteBuffer | |
| private static ByteBuffer | |
| private static native boolean | |
| pack-priv synchronized void | |
| private static native void | |
| public void | setFalloffFactor(final float factor)
This defines a scale factor of sorts -- the higher the number, the larger an area the sound will affect. |
| public void | |
| public void | |
| public void | |
| private static native void | |
| private static native boolean | |
| private static native boolean |
| createdBuffers | back to summary |
|---|---|
| private static Map<K, V> createdBuffers | |
| directByteBufferClass | back to summary |
|---|---|
| private static Class<T> directByteBufferClass | |
| directByteBufferConstructor | back to summary |
|---|---|
| private static Constructor<T> directByteBufferConstructor | |
| event | back to summary |
|---|---|
| private final long event | |
| falloffFactor | back to summary |
|---|---|
| private float falloffFactor | |
| fillerAlive | back to summary |
|---|---|
| pack-priv volatile boolean fillerAlive | |
| leftSpeakerPosition | back to summary |
|---|---|
| private final Vec3f leftSpeakerPosition | |
| mixer | back to summary |
|---|---|
| private static Mixer mixer | |
| mixerAlive | back to summary |
|---|---|
| pack-priv volatile boolean mixerAlive | |
| rightSpeakerPosition | back to summary |
|---|---|
| private final Vec3f rightSpeakerPosition | |
| shutdown | back to summary |
|---|---|
| pack-priv volatile boolean shutdown | |
| shutdownLock | back to summary |
|---|---|
| pack-priv volatile Object shutdownLock | |
| tracks | back to summary |
|---|---|
| private volatile ArrayList<Track> tracks | |
| Mixer | back to summary |
|---|---|
| private Mixer() | |
| add | back to summary |
|---|---|
| pack-priv synchronized void add(final Track track) | |
| CloseHandle | back to summary |
|---|---|
| private static native void CloseHandle(long handle) | |
| CreateEvent | back to summary |
|---|---|
| private static native long CreateEvent() | |
| getMixer | back to summary |
|---|---|
| public static Mixer getMixer() | |
| getMixerBufferData | back to summary |
|---|---|
| private static native ByteBuffer getMixerBufferData(long mixerBuffer) | |
| getMixerBufferDataAddress | back to summary |
|---|---|
| private static native long getMixerBufferDataAddress(long mixerBuffer) | |
| getMixerBufferDataCapacity | back to summary |
|---|---|
| private static native int getMixerBufferDataCapacity(long mixerBuffer) | |
| getNextMixerBuffer | back to summary |
|---|---|
| private static native long getNextMixerBuffer() | |
| initializeWaveOut | back to summary |
|---|---|
| private static native boolean initializeWaveOut(long eventObject) | |
| newDirectByteBuffer | back to summary |
|---|---|
| private static ByteBuffer newDirectByteBuffer(final long address, final long capacity) | |
| newDirectByteBufferImpl | back to summary |
|---|---|
| private static ByteBuffer newDirectByteBufferImpl(final long address, final long capacity) | |
| prepareMixerBuffer | back to summary |
|---|---|
| private static native boolean prepareMixerBuffer(long mixerBuffer) | |
| remove | back to summary |
|---|---|
| pack-priv synchronized void remove(final Track track) | |
| SetEvent | back to summary |
|---|---|
| private static native void SetEvent(long event) | |
| setFalloffFactor | back to summary |
|---|---|
| public void setFalloffFactor(final float factor) This defines a scale factor of sorts -- the higher the number, the larger an area the sound will affect. Default value is 1.0f. Valid values are [1.0f, ...]. The formula for the gain for each channel is
falloffFactor
-------------------
falloffFactor + r^2
| |
| setLeftSpeakerPosition | back to summary |
|---|---|
| public void setLeftSpeakerPosition(final float x, final float y, final float z) | |
| setRightSpeakerPosition | back to summary |
|---|---|
| public void setRightSpeakerPosition(final float x, final float y, final float z) | |
| shutdown | back to summary |
|---|---|
| public void shutdown() | |
| shutdownWaveOut | back to summary |
|---|---|
| private static native void shutdownWaveOut() | |
| WaitForSingleObject | back to summary |
|---|---|
| private static native boolean WaitForSingleObject(long event) | |
| writeMixerBuffer | back to summary |
|---|---|
| private static native boolean writeMixerBuffer(long mixerBuffer) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | run()
Overrides java. Implements java. |
| FillerThread | back to summary |
|---|---|
| pack-priv FillerThread() | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv float[] | |
| private final Vec3f |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private float | |
| public void | run()
Overrides java. Implements java. |
| mixingBuffer | back to summary |
|---|---|
| pack-priv float[] mixingBuffer | |
| temp | back to summary |
|---|---|
| private final Vec3f temp | |
| MixerThread | back to summary |
|---|---|
| pack-priv MixerThread() | |
| gain | back to summary |
|---|---|
| private float gain(final Vec3f pos, final Vec3f speakerPos) | |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |