OpenTK.Audio.OpenAL.EffectsExtension.GenAuxiliaryEffectSlots Method
The GenAuxiliaryEffectSlots function is used to create one or more Auxiliary Effect Slots. The number of slots that can be created will be dependant upon the Open AL device used.

Syntax

public int[] GenAuxiliaryEffectSlots (int n)

Parameters

n
Number of Auxiliary Effect Slots to be created.

Returns

Pointer addressing sufficient memory to store n Effect Slot object identifiers.

Remarks

An application should check the OpenAL error state after making this call to determine if the Effect Slot was successfully created. If the function call fails then none of the requested Effect Slots are created. A good strategy for creating any OpenAL object is to use a for-loop and generate one object each loop iteration and then check for an error condition. If an error is set then the loop can be broken and the application can determine if sufficient resources are available.

Requirements

Namespace: OpenTK.Audio.OpenAL
Assembly: OpenTK-1.0 (in OpenTK-1.0.dll)
Assembly Versions: 0.0.0.0