diff options
author | Lennart Poettering <lennart@poettering.net> | 2007-07-31 22:44:53 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2007-07-31 22:44:53 +0000 |
commit | 0defdfb5607889c35fdefff4af31eb8b0ae0cbcf (patch) | |
tree | 8a8a93281aa32baa815185de5b2cb869f30376bf /src/pulsecore/source-output.h | |
parent | a82505e72f6680258b8162b846c98c64bea45c37 (diff) |
A lot of updates, all necessary to get the native protocol ported:
* add an int64_t argument to pa_asyncmsgq because it is very difficult to pass 64 values otherwise
* simplify subclassing in pa_object
* s/drop/unlink/ at some places
* port the native protocol to the lock-free core (not tested, compiles fine)
* move synchronisation of playback streams into pa_sink_input
* add "start_corked" field to pa_sink_input_new_data
* allow casting of NULL values in pa_object
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1562 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/source-output.h')
-rw-r--r-- | src/pulsecore/source-output.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/source-output.h b/src/pulsecore/source-output.h index 7b6afe81..9f982a9a 100644 --- a/src/pulsecore/source-output.h +++ b/src/pulsecore/source-output.h @@ -103,6 +103,8 @@ typedef struct pa_source_output_new_data { int channel_map_is_set; pa_resample_method_t resample_method; + + int corked; } pa_source_output_new_data; pa_source_output_new_data* pa_source_output_new_data_init(pa_source_output_new_data *data); @@ -142,6 +144,6 @@ int pa_source_output_move_to(pa_source_output *o, pa_source *dest); /* To be used exclusively by the source driver thread */ void pa_source_output_push(pa_source_output *o, const pa_memchunk *chunk); -int pa_source_output_process_msg(pa_msgobject *mo, int code, void *userdata, pa_memchunk *chunk); +int pa_source_output_process_msg(pa_msgobject *mo, int code, void *userdata, int64_t offset, pa_memchunk *chunk); #endif |