Top Description Constructors Methods
org.lwjgl.openal

public Class SOFTSourceStartDelay

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

Native bindings to the SOFT_source_start_delay extension.

This extension allows applications to play a source at a particular future time.

With standard OpenAL, an application can play a source with the SourcePlay or SourcePlayv functions which causes sources to start playing as soon as possible, but the actual start time is left to the implementation to deal with (which could be on the next 10ms or 20ms boundary, or whenever the mixer can start processing the source).

Aside from alSourcePlayv starting all given sources in sync, there is no way to start playing sources at particular times relative to each other, or synchronized to some specific time point.

This extension adds functionality to start source playback at an absolute device clock time, as well as to start with a relative delay.

Requires SOFT_device_clock.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
alSourcePlayAtTimeSOFT(int source, long start_time)

public static void
alSourcePlayAtTimevSOFT(IntBuffer sources, long start_time)

public static void
alSourcePlayAtTimevSOFT(int[] sources, long start_time)

Array version of: SourcePlayAtTimevSOFT

public static void
nalSourcePlayAtTimevSOFT(int n, long sources, long start_time)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SOFTSourceStartDelayback to summary
protected SOFTSourceStartDelay()

Method Detail

alSourcePlayAtTimeSOFTback to summary
public static void alSourcePlayAtTimeSOFT(int source, long start_time)
Annotations
@NativeType:ALvoid
alSourcePlayAtTimevSOFTback to summary
public static void alSourcePlayAtTimevSOFT(IntBuffer sources, long start_time)
Annotations
@NativeType:ALvoid
alSourcePlayAtTimevSOFTback to summary
public static void alSourcePlayAtTimevSOFT(int[] sources, long start_time)

Array version of: SourcePlayAtTimevSOFT

Annotations
@NativeType:ALvoid
nalSourcePlayAtTimevSOFTback to summary
public static void nalSourcePlayAtTimevSOFT(int n, long sources, long start_time)