/** * Returns a human-readable string for an HRTF. * * <p>The returned string will be an implementation-defined UTF-8 encoded specifier for the given HRTF index, designed for display to the user. The returned * strings are valid until the next enumeration point or the device is closed.</p> * * @param device he same one that previously queried the number of HRTF specifiers * @param paramName the parameter to query. Must be:<br><table><tr><td>{@link #ALC_HRTF_SPECIFIER_SOFT HRTF_SPECIFIER_SOFT}</td></tr></table> * @param index an index between 0 (inclusive) and the previously-queried HRTF count (exclusive) */ @Nullable @NativeType("ALCchar const *") public static String alcGetStringiSOFT(@NativeType("ALCdevice *") long device, @NativeType("ALCenum") int paramName, @NativeType("ALCsizei") int index) { long __result = nalcGetStringiSOFT(device, paramName, index); return memUTF8Safe(__result); }
/** * Resets a device after it is opened for playback, to attempt changing the playback properties. * * @param device a handle to a valid playback device as returned by {@link ALC10#alcOpenDevice OpenDevice}, otherwise the call fails and an {@link ALC10#ALC_INVALID_DEVICE INVALID_DEVICE} error is generated * @param attrList the same as what could be passed to {@link ALC10#alcCreateContext CreateContext}. The AL is allowed to ignore attributes and attribute value combinations the device * cannot support, for example if the device doesn't support the requested {@link ALC10#ALC_FREQUENCY FREQUENCY} value, another value it does support may be set. * * @return on success the function returns {@link ALC10#ALC_TRUE TRUE}, and on failure the function returns {@link ALC10#ALC_FALSE FALSE}. Note that a return of {@link ALC10#ALC_TRUE TRUE} does not * indicate any attributes were honored, just that the device was successfully reset. If you need to know what the attributes are after a reset, query the * device using {@link ALC10#alcGetIntegerv GetIntegerv} with the relevant attributes. */ @NativeType("ALCboolean") public static boolean alcResetDeviceSOFT(@NativeType("ALCdevice *") long device, @Nullable @NativeType("ALCint const *") IntBuffer attrList) { if (CHECKS) { checkNTSafe(attrList); } return nalcResetDeviceSOFT(device, memAddressSafe(attrList)); }
ALC_LOKI_audio_channel = ext.contains("ALC_LOKI_audio_channel"); ALC_SOFT_device_clock = ext.contains("ALC_SOFT_device_clock") && checkExtension("ALC_SOFT_device_clock", SOFTDeviceClock.isAvailable(this)); ALC_SOFT_HRTF = ext.contains("ALC_SOFT_HRTF") && checkExtension("ALC_SOFT_HRTF", SOFTHRTF.isAvailable(this)); ALC_SOFT_loopback = ext.contains("ALC_SOFT_loopback") && checkExtension("ALC_SOFT_loopback", SOFTLoopback.isAvailable(this)); ALC_SOFT_output_limiter = ext.contains("ALC_SOFT_output_limiter");