3
* Copyright (C) 2007 Sebastian Dröge <slomo@circular-chaos.org>
5
* gstlfocontrolsource.h: Control source that provides some periodic waveforms
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Library General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
13
* This library is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16
* Library General Public License for more details.
18
* You should have received a copy of the GNU Library General Public
19
* License along with this library; if not, write to the
20
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21
* Boston, MA 02111-1307, USA.
24
#ifndef __GST_LFO_CONTROL_SOURCE_H__
25
#define __GST_LFO_CONTROL_SOURCE_H__
27
#include <glib-object.h>
30
#include "gstcontrolsource.h"
34
#define GST_TYPE_LFO_CONTROL_SOURCE \
35
(gst_lfo_control_source_get_type ())
36
#define GST_LFO_CONTROL_SOURCE(obj) \
37
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_LFO_CONTROL_SOURCE, GstLFOControlSource))
38
#define GST_LFO_CONTROL_SOURCE_CLASS(vtable) \
39
(G_TYPE_CHECK_CLASS_CAST ((vtable), GST_TYPE_LFO_CONTROL_SOURCE, GstLFOControlSourceClass))
40
#define GST_IS_LFO_CONTROL_SOURCE(obj) \
41
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_LFO_CONTROL_SOURCE))
42
#define GST_IS_LFO_CONTROL_SOURCE_CLASS(vtable) \
43
(G_TYPE_CHECK_CLASS_TYPE ((vtable), GST_TYPE_LFO_CONTROL_SOURCE))
44
#define GST_LFO_CONTROL_SOURCE_GET_CLASS(inst) \
45
(G_TYPE_INSTANCE_GET_CLASS ((inst), GST_TYPE_LFO_CONTROL_SOURCE, GstLFOControlSourceClass))
47
#define GST_TYPE_LFO_WAVEFORM (gst_lfo_waveform_get_type ())
49
typedef struct _GstLFOControlSource GstLFOControlSource;
50
typedef struct _GstLFOControlSourceClass GstLFOControlSourceClass;
51
typedef struct _GstLFOControlSourcePrivate GstLFOControlSourcePrivate;
55
* @GST_LFO_WAVEFORM_SINE: sine waveform
56
* @GST_LFO_WAVEFORM_SQUARE: square waveform
57
* @GST_LFO_WAVEFORM_SAW: saw waveform
58
* @GST_LFO_WAVEFORM_REVERSE_SAW: reverse saw waveform
59
* @GST_LFO_WAVEFORM_TRIANGLE: triangle waveform
61
* The various waveform modes available.
65
GST_LFO_WAVEFORM_SINE,
66
GST_LFO_WAVEFORM_SQUARE,
68
GST_LFO_WAVEFORM_REVERSE_SAW,
69
GST_LFO_WAVEFORM_TRIANGLE
73
* GstLFOControlSource:
75
* The instance structure of #GstControlSource.
77
struct _GstLFOControlSource {
78
GstControlSource parent;
81
GstLFOControlSourcePrivate *priv;
83
gpointer _gst_reserved[GST_PADDING];
86
struct _GstLFOControlSourceClass {
87
GstControlSourceClass parent_class;
90
gpointer _gst_reserved[GST_PADDING];
93
GType gst_lfo_control_source_get_type ();
94
GType gst_lfo_waveform_get_type ();
98
GstLFOControlSource *gst_lfo_control_source_new ();
102
#endif /* __GST_LFO_CONTROL_SOURCE_H__ */