mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
core: move 'flags' field into 'pa_sink_input_new_data' structure so that hooks can access it
This commit is contained in:
parent
300384ce0a
commit
84eb6614eb
17 changed files with 50 additions and 43 deletions
|
|
@ -256,6 +256,8 @@ typedef struct pa_sink_input_send_event_hook_data {
|
|||
} pa_sink_input_send_event_hook_data;
|
||||
|
||||
typedef struct pa_sink_input_new_data {
|
||||
pa_sink_input_flags_t flags;
|
||||
|
||||
pa_proplist *proplist;
|
||||
|
||||
const char *driver;
|
||||
|
|
@ -298,8 +300,7 @@ void pa_sink_input_new_data_done(pa_sink_input_new_data *data);
|
|||
int pa_sink_input_new(
|
||||
pa_sink_input **i,
|
||||
pa_core *core,
|
||||
pa_sink_input_new_data *data,
|
||||
pa_sink_input_flags_t flags);
|
||||
pa_sink_input_new_data *data);
|
||||
|
||||
void pa_sink_input_put(pa_sink_input *i);
|
||||
void pa_sink_input_unlink(pa_sink_input* i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue