get_top_effect_index


Description:

public int get_top_effect_index (BaseEffect effect)

Gets the internal index of an effect in the clip.

The index of effects in a clip will run from 0 to n-1, where n is the total number of effects. If two effects share the same track, the effect with the numerically lower index will be applied to the source data **after** the other effect, i.e. output data will always flow from a higher index effect to a lower index effect.

Parameters:

this

A Clip

effect

The effect we want to get the index of

Returns:

The index of effect in this, or -1 if something went wrong.




2022 vala-language.org