*.h: Revert indenting

Original commit message from CVS:
* *.h: Revert indenting
This commit is contained in:
Johan Dahlin 2004-03-15 16:32:53 +00:00
parent 2940fc1d56
commit 12ccc90d59

View file

@ -25,9 +25,8 @@
#include <gst/gst.h> #include <gst/gst.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C" {
{ #endif /* __cplusplus */
#endif /* __cplusplus */
#include <lame/lame.h> #include <lame/lame.h>
@ -42,76 +41,73 @@ extern "C"
#define GST_IS_LAME_CLASS(obj) \ #define GST_IS_LAME_CLASS(obj) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_LAME)) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_LAME))
typedef enum typedef enum {
{ GST_LAME_OPEN = GST_ELEMENT_FLAG_LAST,
GST_LAME_OPEN = GST_ELEMENT_FLAG_LAST,
GST_LAME_FLAG_LAST = GST_ELEMENT_FLAG_LAST + 2, GST_LAME_FLAG_LAST = GST_ELEMENT_FLAG_LAST+2,
} GstLameFlags; } GstLameFlags;
typedef struct _GstLame GstLame; typedef struct _GstLame GstLame;
typedef struct _GstLameClass GstLameClass; typedef struct _GstLameClass GstLameClass;
struct _GstLame struct _GstLame {
{ GstElement element;
GstElement element; /* pads */
/* pads */ GstPad *srcpad, *sinkpad;
GstPad *srcpad, *sinkpad;
gint samplerate; gint samplerate;
gint num_channels; gint num_channels;
gboolean initialized; gboolean initialized;
gint bitrate; gint bitrate;
gfloat compression_ratio; gfloat compression_ratio;
gint quality; gint quality;
gint mode; gint mode;
gboolean force_ms; gboolean force_ms;
gboolean free_format; gboolean free_format;
gboolean copyright; gboolean copyright;
gboolean original; gboolean original;
gboolean error_protection; gboolean error_protection;
gint padding_type; gint padding_type;
gboolean extension; gboolean extension;
gboolean strict_iso; gboolean strict_iso;
gboolean disable_reservoir; gboolean disable_reservoir;
gboolean vbr; gboolean vbr;
gint vbr_mean_bitrate; gint vbr_mean_bitrate;
gint vbr_min_bitrate; gint vbr_min_bitrate;
gint vbr_max_bitrate; gint vbr_max_bitrate;
gint vbr_hard_min; gint vbr_hard_min;
gint lowpass_freq; gint lowpass_freq;
gint lowpass_width; gint lowpass_width;
gint highpass_freq; gint highpass_freq;
gint highpass_width; gint highpass_width;
gboolean ath_only; gboolean ath_only;
gboolean ath_short; gboolean ath_short;
gboolean no_ath; gboolean no_ath;
gint ath_type; gint ath_type;
gint ath_lower; gint ath_lower;
gint cwlimit; gint cwlimit;
gboolean allow_diff_short; gboolean allow_diff_short;
gboolean no_short_blocks; gboolean no_short_blocks;
gboolean emphasis; gboolean emphasis;
lame_global_flags *lgf; lame_global_flags *lgf;
GstTagList *tags; GstTagList *tags;
/* time tracker */ /* time tracker */
guint64 last_ts, last_offs, last_duration; guint64 last_ts, last_offs, last_duration;
}; };
struct _GstLameClass struct _GstLameClass {
{ GstElementClass parent_class;
GstElementClass parent_class; };
};
GType gst_lame_get_type (void); GType gst_lame_get_type(void);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* __GST_LAME_H__ */ #endif /* __GST_LAME_H__ */