2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
3 * Copyright (C) <2008> Sebastian Dröge <sebastian.droege@collabora.co.uk>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
22 #ifndef __GST_TWO_LAME_H__
23 #define __GST_TWO_LAME_H__
27 #include <gst/audio/gstaudioencoder.h>
33 #define GST_TYPE_TWO_LAME \
34 (gst_two_lame_get_type())
35 #define GST_TWO_LAME(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_TWO_LAME,GstTwoLame))
37 #define GST_TWO_LAME_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_TWO_LAME,GstTwoLameClass))
39 #define GST_IS_TWO_LAME(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TWO_LAME))
41 #define GST_IS_TWO_LAME_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TWO_LAME))
44 typedef struct _GstTwoLame GstTwoLame;
45 typedef struct _GstTwoLameClass GstTwoLameClass;
50 * Opaque data structure.
53 GstAudioEncoder element;
64 gboolean energy_level_extension;
66 gboolean error_protection;
74 gint quick_mode_count;
76 twolame_options *glopts;
79 struct _GstTwoLameClass {
80 GstAudioEncoderClass parent_class;
83 GType gst_two_lame_get_type(void);
88 #endif /* __GST_TWO_LAME_H__ */