diff options
Diffstat (limited to 'src/pulse/internal.h')
-rw-r--r-- | src/pulse/internal.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/pulse/internal.h b/src/pulse/internal.h index 9b288562..2a808d17 100644 --- a/src/pulse/internal.h +++ b/src/pulse/internal.h @@ -75,8 +75,9 @@ struct pa_context { pa_mempool *mempool; - pa_bool_t is_local; - pa_bool_t do_autospawn; + pa_bool_t is_local:1; + pa_bool_t do_autospawn:1; + pa_bool_t do_shm:1; int autospawn_lock_fd; pa_spawn_api spawn_api; @@ -117,8 +118,13 @@ struct pa_stream { pa_proplist *proplist; + pa_bool_t channel_valid:1; + pa_bool_t suspended:1; + pa_bool_t corked:1; + pa_bool_t timing_info_valid:1; + pa_bool_t auto_timing_update_requested:1; + uint32_t channel; - pa_bool_t channel_valid; uint32_t syncid; uint32_t stream_index; @@ -127,17 +133,13 @@ struct pa_stream { uint32_t device_index; char *device_name; - pa_bool_t suspended; pa_memchunk peek_memchunk; void *peek_data; pa_memblockq *record_memblockq; - pa_bool_t corked; - /* Store latest latency info */ pa_timing_info timing_info; - pa_bool_t timing_info_valid; /* Use to make sure that time advances monotonically */ pa_usec_t previous_time; @@ -152,7 +154,6 @@ struct pa_stream { /* Latency interpolation stuff */ pa_time_event *auto_timing_update_event; - pa_bool_t auto_timing_update_requested; pa_smoother *smoother; @@ -234,6 +235,4 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta #define PA_CHECK_VALIDITY_RETURN_NULL(context, expression, error) PA_CHECK_VALIDITY_RETURN_ANY(context, expression, error, NULL) -void pa_init_proplist(pa_proplist *p); - #endif |