All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.openal.SOFTEffectTarget Maven / Gradle / Ivy

Go to download

A cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications.

The newest version!
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.openal;

/**
 * Native bindings to the SOFT_effect_target extension.
 * 
 * 

This extension provides a method to reroute the output of an auxiliary effect slot to the input of another auxiliary effect slot. By default, an effect * slot's output is added to the main output along side other effect slots and each source's direct path. This makes it impossible to, for example, apply * an equalizer effect to the output of a chorus effect since the chorus and equalizer effects are processed separately.

* *

Retargeting an effect slot's output to another effect slot allows chaining multiple effects to create results that aren't possible with standard EFX.

*/ public final class SOFTEffectTarget { /** * Specifies the target effect slot for this effect slot's output. * *

The rendered output of this effect slot is added to the input of the specified target effect slot, which will be subsequently processed by the target * effect slot's effect. Specifying {@link EXTEfx#AL_EFFECTSLOT_NULL EFFECTSLOT_NULL} for the ID reverts the effect slot's output back to the main output.

* *

An effect slot that is the target of another effect slot cannot be deleted or an {@link AL10#AL_INVALID_OPERATION INVALID_OPERATION} error will be generated. An effect slot cannot be * set as a target if it would feed its own input through 0 or more other effect slots, or an {@code AL_INVALID_OPERATION} error will be generated.

*/ public static final int AL_EFFECTSLOT_TARGET_SOFT = 0x199C; private SOFTEffectTarget() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy