static gboolean
gst_signal_processor_process (GstSignalProcessor * self, guint nframes)
{
- GstElement *elem;
GstSignalProcessorClass *klass;
/* check if we have buffers enqueued */
g_return_val_if_fail (self->pending_in == 0, FALSE);
g_return_val_if_fail (self->pending_out == 0, FALSE);
- elem = GST_ELEMENT (self);
-
/* check how much input is available and prepare output buffers */
nframes = gst_signal_processor_prepare (self, nframes);
if (G_UNLIKELY (nframes == 0))
{
gboolean result = TRUE;
GstSignalProcessor *self;
- GstSignalProcessorClass *bclass;
self = GST_SIGNAL_PROCESSOR (gst_pad_get_parent (pad));
- bclass = GST_SIGNAL_PROCESSOR_GET_CLASS (self);
if (active) {
if (self->mode == GST_ACTIVATE_NONE) {
{
gboolean result = TRUE;
GstSignalProcessor *self;
- GstSignalProcessorClass *bclass;
self = GST_SIGNAL_PROCESSOR (gst_pad_get_parent (pad));
- bclass = GST_SIGNAL_PROCESSOR_GET_CLASS (self);
if (active) {
if (self->mode == GST_ACTIVATE_NONE) {