![]() |
gsequencer 7.0.5
Advanced Gtk+ Sequencer
|
ags_vst_futils.cpp File Reference
#include <ags/vst3-capi/pluginterfaces/base/ags_vst_futils.h>
#include <pluginterfaces/base/futils.h>
Include dependency graph for ags_vst_futils.cpp:

Functions | |
void | ags_vst_util_min_int32 (gint32 a, gint32 b, gint32 *retval) |
void | ags_vst_util_min_float (gfloat a, gfloat b, gfloat *retval) |
void | ags_vst_util_max_int32 (gint32 a, gint32 b, gint32 *retval) |
void | ags_vst_util_max_float (gfloat a, gfloat b, gfloat *retval) |
void | ags_vst_util_abs_int32 (gint32 value, gint32 *retval) |
void | ags_vst_util_abs_float (gfloat value, gfloat *retval) |
void | ags_vst_util_sign_int32 (gint32 value, gint32 *retval) |
void | ags_vst_util_sign_float (gfloat value, gfloat *retval) |
void | ags_vst_util_bound_int32 (gint32 minval, gint32 maxval, gint32 x, gint32 *retval) |
void | ags_vst_util_bound_float (gfloat minval, gfloat maxval, gfloat x, gfloat *retval) |
void | ags_vst_util_swap_int32 (gint32 *t1, gint32 *t2) |
void | ags_vst_util_swap_float (gfloat *t1, gfloat *t2) |
gboolean | ags_vst_util_is_approximate_equal_int32 (gint32 t1, gint32 t2, gint32 epsilon) |
gboolean | ags_vst_util_is_approximate_equal_float (gfloat t1, gfloat t2, gfloat epsilon) |
void | ags_vst_util_to_normalized_int32 (gint32 value, gint32 num_steps, gint32 *retval) |
void | ags_vst_util_to_normalized_float (gfloat value, gfloat num_steps, gfloat *retval) |
void | ags_vst_util_from_normalized_int32 (gint32 norm, gint32 num_steps, gint32 *retval) |
void | ags_vst_util_from_normalized_float (gfloat norm, gfloat num_steps, gfloat *retval) |
Function Documentation
◆ ags_vst_util_abs_float()
void ags_vst_util_abs_float | ( | gfloat | value, |
gfloat * | retval | ||
) |
Abs float.
- Parameters
-
value value retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_abs_int32()
void ags_vst_util_abs_int32 | ( | gint32 | value, |
gint32 * | retval | ||
) |
Abs int32.
- Parameters
-
value value retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_bound_float()
void ags_vst_util_bound_float | ( | gfloat | minval, |
gfloat | maxval, | ||
gfloat | x, | ||
gfloat * | retval | ||
) |
Bound float.
- Parameters
-
minval min value maxval max value x the value x retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_bound_int32()
void ags_vst_util_bound_int32 | ( | gint32 | minval, |
gint32 | maxval, | ||
gint32 | x, | ||
gint32 * | retval | ||
) |
Bound int32.
- Parameters
-
minval min value maxval max value x the value x retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_from_normalized_float()
void ags_vst_util_from_normalized_float | ( | gfloat | norm, |
gfloat | num_steps, | ||
gfloat * | retval | ||
) |
From normalized float.
- Parameters
-
value the value num_steps number of steps retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_from_normalized_int32()
void ags_vst_util_from_normalized_int32 | ( | gint32 | norm, |
gint32 | num_steps, | ||
gint32 * | retval | ||
) |
From normalized int32.
- Parameters
-
value the value num_steps number of steps retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_is_approximate_equal_float()
gboolean ags_vst_util_is_approximate_equal_float | ( | gfloat | t1, |
gfloat | t2, | ||
gfloat | epsilon | ||
) |
Approximate equal float.
- Parameters
-
t1 the float t2 the other float epsilon the epsilon
- Returns
- true if matches, otherwise false
- Since
- 5.0.0
◆ ags_vst_util_is_approximate_equal_int32()
gboolean ags_vst_util_is_approximate_equal_int32 | ( | gint32 | t1, |
gint32 | t2, | ||
gint32 | epsilon | ||
) |
Approximate equal int32.
- Parameters
-
t1 the integer t2 the other integer epsilon the epsilon
- Returns
- true if matches, otherwise false
- Since
- 5.0.0
◆ ags_vst_util_max_float()
void ags_vst_util_max_float | ( | gfloat | a, |
gfloat | b, | ||
gfloat * | retval | ||
) |
Max float.
- Parameters
-
a value a b value b retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_max_int32()
void ags_vst_util_max_int32 | ( | gint32 | a, |
gint32 | b, | ||
gint32 * | retval | ||
) |
Max int32.
- Parameters
-
a value a b value b retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_min_float()
void ags_vst_util_min_float | ( | gfloat | a, |
gfloat | b, | ||
gfloat * | retval | ||
) |
Min float.
- Parameters
-
a value a b value b retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_min_int32()
void ags_vst_util_min_int32 | ( | gint32 | a, |
gint32 | b, | ||
gint32 * | retval | ||
) |
Min int32.
- Parameters
-
a value a b value b retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_sign_float()
void ags_vst_util_sign_float | ( | gfloat | value, |
gfloat * | retval | ||
) |
Sign float.
- Parameters
-
value value retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_sign_int32()
void ags_vst_util_sign_int32 | ( | gint32 | value, |
gint32 * | retval | ||
) |
Sign int32.
- Parameters
-
value value retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_swap_float()
void ags_vst_util_swap_float | ( | gfloat * | t1, |
gfloat * | t2 | ||
) |
Swap float.
- Parameters
-
t1 the float t2 the other float
- Since
- 5.0.0
◆ ags_vst_util_swap_int32()
void ags_vst_util_swap_int32 | ( | gint32 * | t1, |
gint32 * | t2 | ||
) |
Swap int32.
- Parameters
-
t1 the integer t2 the other integer
- Since
- 5.0.0
◆ ags_vst_util_to_normalized_float()
void ags_vst_util_to_normalized_float | ( | gfloat | value, |
gfloat | num_steps, | ||
gfloat * | retval | ||
) |
To normalized float.
- Parameters
-
value the value num_steps number of steps retval the return location of value
- Since
- 5.0.0
◆ ags_vst_util_to_normalized_int32()
void ags_vst_util_to_normalized_int32 | ( | gint32 | value, |
gint32 | num_steps, | ||
gint32 * | retval | ||
) |
To normalized int32.
- Parameters
-
value the value num_steps number of steps retval the return location of value
- Since
- 5.0.0
Generated by