diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-08-21 13:59:52 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-08-21 13:59:52 +0000 |
commit | 11fc25f7aff298fdb54ecebcfa182ab2193f3000 (patch) | |
tree | 20af9c3ec276ebb970634c719f71154af03dc262 /ext/wavpack/gstwavpackenc.h | |
parent | aea5c4eca3ba7612a7acfa47c26499911e10e2cf (diff) | |
download | gst-plugins-bad-11fc25f7aff298fdb54ecebcfa182ab2193f3000.tar.gz gst-plugins-bad-11fc25f7aff298fdb54ecebcfa182ab2193f3000.tar.bz2 gst-plugins-bad-11fc25f7aff298fdb54ecebcfa182ab2193f3000.zip |
ext/wavpack/: More clean-ups: use shorter variable names to make code easier to read; prefix structures we define wit...
Original commit message from CVS:
* ext/wavpack/gstwavpackenc.c: (gst_wavpack_enc_init),
(gst_wavpack_enc_finalize), (gst_wavpack_enc_sink_set_caps),
(gst_wavpack_enc_set_wp_config), (gst_wavpack_enc_format_samples),
(gst_wavpack_enc_push_block), (gst_wavpack_enc_chain),
(gst_wavpack_enc_rewrite_first_block),
(gst_wavpack_enc_sink_event), (gst_wavpack_enc_change_state),
(gst_wavpack_enc_set_property), (gst_wavpack_enc_get_property):
* ext/wavpack/gstwavpackenc.h:
* ext/wavpack/gstwavpackparse.c: (gst_wavpack_parse_reset),
(gst_wavpack_parse_src_query), (gst_wavpack_parse_src_event),
(gst_wavpack_parse_init), (gst_wavpack_parse_get_upstream_length),
(gst_wavpack_parse_loop):
More clean-ups: use shorter variable names to make code easier to
read; prefix structures we define with 'Gst' to make it clearer
where they come from.
Diffstat (limited to 'ext/wavpack/gstwavpackenc.h')
-rw-r--r-- | ext/wavpack/gstwavpackenc.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/wavpack/gstwavpackenc.h b/ext/wavpack/gstwavpackenc.h index b7a9300e..2777007a 100644 --- a/ext/wavpack/gstwavpackenc.h +++ b/ext/wavpack/gstwavpackenc.h @@ -28,7 +28,8 @@ #include <wavpack/md5.h> G_BEGIN_DECLS -/* #define's don't like whitespacey bits */ + +/* defines don't like whitespacey bits */ #define GST_TYPE_WAVPACK_ENC \ (gst_wavpack_enc_get_type()) #define GST_WAVPACK_ENC(obj) \ @@ -39,6 +40,7 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_WAVPACK_ENC)) #define GST_IS_WAVPACK_ENC_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_WAVPACK_ENC)) + typedef struct _GstWavpackEnc GstWavpackEnc; typedef struct _GstWavpackEncClass GstWavpackEncClass; @@ -46,7 +48,7 @@ typedef struct { gboolean correction; GstWavpackEnc *wavpack_enc; -} write_id; +} GstWavpackEncWriteID; struct _GstWavpackEnc @@ -66,7 +68,8 @@ struct _GstWavpackEnc gint channels; gint width; - write_id *wv_id, *wvc_id; + GstWavpackEncWriteID *wv_id; + GstWavpackEncWriteID *wvc_id; guint mode; gdouble bitrate; @@ -90,4 +93,5 @@ GType gst_wavpack_enc_get_type (void); gboolean gst_wavpack_enc_plugin_init (GstPlugin * plugin); G_END_DECLS + #endif /* __GST_WAVPACK_ENC_H__ */ |