Module ncine.audio_effect_slot

The table containing audio effect slot related functions

Functions

ncine.audio_effect_slot.new () Constructs an audio effect slot object.
ncine.audio_effect_slot.delete (audio_effect_slot) Destroys an audio effect slot object and releases its memory
ncine.audio_effect_slot.get_effect_slot_id (audio_effect_slot) Returns the OpenAL auxilary effect slot id
ncine.audio_effect_slot.get_gain (audio_effect_slot) Returns the gain output level of the auxilary effect slot
ncine.audio_effect_slot.set_gain (audio_effect_slot, gain) Sets the gain output level of the auxilary effect slot
ncine.audio_effect_slot.get_aux_send_auto (audio_effect_slot) Returns the state of the auxilary slot send auto flag.
ncine.audio_effect_slot.set_aux_send_auto (audio_effect_slot, aux_send_auto) Sets the state of the auxilary slot send auto flag.
ncine.audio_effect_slot.apply_effect (audio_effect_slot, audio_effect) Applies the effect parameters from an effect object

Tables

audioeffectslotObj The light user data of an audio effect slot object


Functions

ncine.audio_effect_slot.new ()
Constructs an audio effect slot object.

Don’t forget to call ncine.audio_effect_slot.delete when you are done with it!

Returns:

    audioeffectslotObj A new audio effect slot object
ncine.audio_effect_slot.delete (audio_effect_slot)
Destroys an audio effect slot object and releases its memory

Parameters:

ncine.audio_effect_slot.get_effect_slot_id (audio_effect_slot)
Returns the OpenAL auxilary effect slot id

Parameters:

Returns:

    integer
ncine.audio_effect_slot.get_gain (audio_effect_slot)
Returns the gain output level of the auxilary effect slot

Parameters:

Returns:

    number
ncine.audio_effect_slot.set_gain (audio_effect_slot, gain)
Sets the gain output level of the auxilary effect slot

Parameters:

ncine.audio_effect_slot.get_aux_send_auto (audio_effect_slot)
Returns the state of the auxilary slot send auto flag.

The property is used to enable or disable automatic send adjustments based on the physical positions of the sources and the listener.

Parameters:

Returns:

    boolean
ncine.audio_effect_slot.set_aux_send_auto (audio_effect_slot, aux_send_auto)
Sets the state of the auxilary slot send auto flag.

The property is used to enable or disable automatic send adjustments based on the physical positions of the sources and the listener.

Parameters:

ncine.audio_effect_slot.apply_effect (audio_effect_slot, audio_effect)
Applies the effect parameters from an effect object

Parameters:

Tables

audioeffectslotObj
The light user data of an audio effect slot object
generated by LDoc 1.5.0 Last updated 2024-12-18 15:08:56