GstBtDelay
GstBtDelay — delay line class
|
|
Object Hierarchy
GObject
╰── GstBtDelay
Includes
#include <libgstbuzztrax/delay.h>
Description
A delay line.
Functions
gstbt_delay_new ()
GstBtDelay *
gstbt_delay_new (void
);
Create a new instance.
Returns
the new instance or NULL
in case of an error
gstbt_delay_start ()
void
gstbt_delay_start (GstBtDelay *self
,
gint samplerate
);
Initialize the delay line.
gstbt_delay_flush ()
void
gstbt_delay_flush (GstBtDelay *self
);
Zero pending data in the delay.
gstbt_delay_stop ()
void
gstbt_delay_stop (GstBtDelay *self
);
Stop and release the delay line.
GSTBT_DELAY_BEFORE()
#define GSTBT_DELAY_BEFORE(self,rb_in,rb_out)
Initialize read/write pointers.
GSTBT_DELAY_AFTER()
#define GSTBT_DELAY_AFTER(self,rb_in,rb_out)
Store read/write pointers.
GSTBT_DELAY_READ()
#define GSTBT_DELAY_READ(self,rb_out,v)
Read from ring-buffer and advance the position.
GSTBT_DELAY_WRITE()
#define GSTBT_DELAY_WRITE(self,rb_in,v)
Write to v
the ring-buffer and advance the position.
Types and Values
struct GstBtDelay
struct GstBtDelay;
Class instance data.
Property Details
The “delaytime”
property
“delaytime” guint
Time difference between two echos as milliseconds.
Flags: Read / Write
Allowed values: [1,1000]
Default value: 100