mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
*.h: Revert indenting
Original commit message from CVS: * *.h: Revert indenting
This commit is contained in:
parent
c2bcfc8446
commit
44f714a5fd
1 changed files with 33 additions and 39 deletions
|
@ -51,7 +51,7 @@
|
||||||
#define GST_IS_JACK_BIN_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_JACK_BIN)
|
#define GST_IS_JACK_BIN_CLASS(klass) G_TYPE_CHECK_CLASS_TYPE(klass, GST_TYPE_JACK_BIN)
|
||||||
#define GST_TYPE_JACK_BIN gst_jack_bin_get_type()
|
#define GST_TYPE_JACK_BIN gst_jack_bin_get_type()
|
||||||
|
|
||||||
#define GST_JACK_PAD(l) ((GstJackPad*)l->data) /* l is a GList */
|
#define GST_JACK_PAD(l) ((GstJackPad*)l->data) /* l is a GList */
|
||||||
|
|
||||||
|
|
||||||
typedef struct _GstJack GstJack;
|
typedef struct _GstJack GstJack;
|
||||||
|
@ -64,65 +64,59 @@ typedef GstJack GstJackSrc;
|
||||||
typedef GstJackClass GstJackSrcClass;
|
typedef GstJackClass GstJackSrcClass;
|
||||||
|
|
||||||
|
|
||||||
enum
|
enum {
|
||||||
{
|
GST_JACK_OPEN = GST_BIN_FLAG_LAST,
|
||||||
GST_JACK_OPEN = GST_BIN_FLAG_LAST,
|
GST_JACK_ACTIVE,
|
||||||
GST_JACK_ACTIVE,
|
GST_JACK_FLAG_LAST = GST_BIN_FLAG_LAST + 3,
|
||||||
GST_JACK_FLAG_LAST = GST_BIN_FLAG_LAST + 3,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
typedef jack_default_audio_sample_t sample_t;
|
typedef jack_default_audio_sample_t sample_t;
|
||||||
|
|
||||||
typedef struct
|
typedef struct {
|
||||||
{
|
GstPad *pad;
|
||||||
GstPad *pad;
|
void *data;
|
||||||
void *data;
|
const gchar *name;
|
||||||
const gchar *name;
|
const gchar *peer_name;
|
||||||
const gchar *peer_name;
|
jack_port_t *port;
|
||||||
jack_port_t *port;
|
|
||||||
} GstJackPad;
|
} GstJackPad;
|
||||||
|
|
||||||
struct _GstJack
|
struct _GstJack {
|
||||||
{
|
GstElement element;
|
||||||
GstElement element;
|
|
||||||
|
|
||||||
/* list of GstJackPads */
|
/* list of GstJackPads */
|
||||||
GList *pads;
|
GList *pads;
|
||||||
|
|
||||||
/* for convenience */
|
/* for convenience */
|
||||||
GstPadDirection direction;
|
GstPadDirection direction;
|
||||||
|
|
||||||
gchar *port_name_prefix;
|
gchar *port_name_prefix;
|
||||||
|
|
||||||
GstJackBin *bin;
|
GstJackBin *bin;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstJackClass
|
struct _GstJackClass {
|
||||||
{
|
GstElementClass parent_class;
|
||||||
GstElementClass parent_class;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstJackBin
|
struct _GstJackBin {
|
||||||
{
|
GstBin bin;
|
||||||
GstBin bin;
|
|
||||||
|
|
||||||
jack_client_t *client;
|
jack_client_t *client;
|
||||||
gint default_new_port_number;
|
gint default_new_port_number;
|
||||||
|
|
||||||
/* lists of GstJackPads */
|
/* lists of GstJackPads */
|
||||||
GList *sink_pads;
|
GList *sink_pads;
|
||||||
GList *src_pads;
|
GList *src_pads;
|
||||||
|
|
||||||
gchar *client_name;
|
gchar *client_name;
|
||||||
|
|
||||||
guint rate;
|
guint rate;
|
||||||
jack_nframes_t nframes;
|
jack_nframes_t nframes;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _GstJackBinClass
|
struct _GstJackBinClass {
|
||||||
{
|
GstBinClass parent_class;
|
||||||
GstBinClass parent_class;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue