1 /* GStreamer ReplayGain limiter
3 * Copyright (C) 2007 Rene Stadler <mail@renestadler.de>
5 * gstrglimiter.h: Element to apply signal compression to raw audio data
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * as published by the Free Software Foundation; either version 2.1 of
10 * the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 #ifndef __GST_RG_LIMITER_H__
24 #define __GST_RG_LIMITER_H__
27 #include <gst/base/gstbasetransform.h>
29 #define GST_TYPE_RG_LIMITER \
30 (gst_rg_limiter_get_type())
31 #define GST_RG_LIMITER(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RG_LIMITER,GstRgLimiter))
33 #define GST_RG_LIMITER_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RG_LIMITER,GstRgLimiterClass))
35 #define GST_IS_RG_LIMITER(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RG_LIMITER))
37 #define GST_IS_RG_LIMITER_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RG_LIMITER))
40 typedef struct _GstRgLimiter GstRgLimiter;
41 typedef struct _GstRgLimiterClass GstRgLimiterClass;
46 * Opaque data structure.
50 GstBaseTransform element;
57 struct _GstRgLimiterClass
59 GstBaseTransformClass parent_class;
62 GType gst_rg_limiter_get_type (void);
64 #endif /* __GST_RG_LIMITER_H__ */