Commit 5111a6ed authored by Olivier Crête's avatar Olivier Crête 👻

liveadder: port to 1.0 API

parent 27cd08ad
......@@ -315,7 +315,7 @@ GST_PLUGINS_NONPORTED=" aiff \
dccp faceoverlay \
fieldanalysis freeverb freeze frei0r \
hdvparse inter ivfparse jp2kdecimator \
kate liveadder librfb \
kate librfb \
mpegpsmux mve mxf mythtv nsf nuvdemux \
patchdetect pnm real \
sdi speed subenc stereo tta videofilters \
......
This diff is collapsed.
/*
* Farsight Voice+Video library
* GStreamer
*
* Copyright 2008 Collabora Ltd
* Copyright 2008 Nokia Corporation
......@@ -28,6 +28,7 @@
#define __GST_LIVE_ADDER_H__
#include <gst/gst.h>
#include <gst/audio/audio.h>
G_BEGIN_DECLS
#define GST_TYPE_LIVE_ADDER (gst_live_adder_get_type())
......@@ -39,13 +40,6 @@ G_BEGIN_DECLS
typedef struct _GstLiveAdder GstLiveAdder;
typedef struct _GstLiveAdderClass GstLiveAdderClass;
typedef enum
{
GST_LIVE_ADDER_FORMAT_UNSET,
GST_LIVE_ADDER_FORMAT_INT,
GST_LIVE_ADDER_FORMAT_FLOAT
} GstLiveAdderFormat;
typedef void (*GstLiveAdderFunction) (gpointer out, gpointer in, guint size);
/**
......@@ -73,18 +67,7 @@ struct _GstLiveAdder
GstClockTime next_timestamp;
/* the next are valid for both int and float */
GstLiveAdderFormat format;
gint rate;
gint channels;
gint width;
gint endianness;
/* the next are valid only for format == GST_LIVE_ADDER_FORMAT_INT */
gint depth;
gboolean is_signed;
/* number of bytes per sample, actually width/8 * channels */
gint bps;
GstAudioInfo info;
/* function to add samples */
GstLiveAdderFunction func;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment