diff options
| author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 19:00:22 +0200 |
|---|---|---|
| committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2007-04-04 19:00:22 +0200 |
| commit | a800128f70a60ab7544d4ed4d3bf101c3d1839d2 (patch) | |
| tree | ab1fba01c325b3e5045d702d723eccf62f620e85 /src/xine-engine/post.h | |
| parent | 87b02ca94766b01bc71c6d55882fe9a6376cdf62 (diff) | |
| download | xine-lib-a800128f70a60ab7544d4ed4d3bf101c3d1839d2.tar.gz xine-lib-a800128f70a60ab7544d4ed4d3bf101c3d1839d2.tar.bz2 | |
Reorder and change public structures (breaking ABI).
With this changes, almost all the structures are now consolidated without
holes.
For xine_stream_s, transform a set of (internal) integers used as booleans
into a bitmask, this reduces the size of the structure by about 36 bytes.
Diffstat (limited to 'src/xine-engine/post.h')
| -rw-r--r-- | src/xine-engine/post.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/xine-engine/post.h b/src/xine-engine/post.h index bcdc3c54b..a3b9786ca 100644 --- a/src/xine-engine/post.h +++ b/src/xine-engine/post.h @@ -92,9 +92,6 @@ struct post_plugin_s { */ void (*dispose) (post_plugin_t *this); - /* has dispose been called */ - int dispose_pending; - /* plugins don't have to init the stuff below */ /* @@ -119,6 +116,9 @@ struct post_plugin_s { /* used by plugin loader */ void *node; + + /* has dispose been called */ + int dispose_pending; }; /* helper function to initialize a post_plugin_t */ @@ -290,15 +290,15 @@ struct post_audio_port_s { /* the original port to call its functions from inside yours */ xine_audio_port_t *original_port; - /* usage counter: how many objects are floating around that need - * these pointers to exist */ - int usage_count; - pthread_mutex_t usage_lock; - /* the stream we are being fed by; NULL means no stream is connected; * this may be an anonymous stream */ xine_stream_t *stream; + pthread_mutex_t usage_lock; + /* usage counter: how many objects are floating around that need + * these pointers to exist */ + int usage_count; + /* some values remembered by port->open() */ uint32_t bits; uint32_t rate; |
