![]() |
![]() |
![]() |
GStreamer Buzztard Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct GstBtEnvelopeD; GstBtEnvelopeD * gstbt_envelope_d_new (void
); void gstbt_envelope_d_setup (GstBtEnvelopeD *self
,gint samplerate
,gdouble decay_time
,gdouble peak_level
);
GstBtEnvelopeD * gstbt_envelope_d_new (void
);
Create a new instance
Returns : |
the new instance or NULL in case of an error |
void gstbt_envelope_d_setup (GstBtEnvelopeD *self
,gint samplerate
,gdouble decay_time
,gdouble peak_level
);
Initialize the envelope for a new cycle. Adds a short attack (~0.001 s) to avoid clicks.
|
the envelope |
|
the audio sampling rate |
|
the decay time in sec |
|
peak volume level (0.0 -> 1.0) |