mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-28 08:57:11 -05: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
|
|
@ -429,7 +429,7 @@ static int esd_proto_stream_play(connection *c, esd_proto_t request, const void
|
|||
sdata.sink = sink;
|
||||
pa_sink_input_new_data_set_sample_spec(&sdata, &ss);
|
||||
|
||||
pa_sink_input_new(&c->sink_input, c->protocol->core, &sdata, 0);
|
||||
pa_sink_input_new(&c->sink_input, c->protocol->core, &sdata);
|
||||
pa_sink_input_new_data_done(&sdata);
|
||||
|
||||
CHECK_VALIDITY(c->sink_input, "Failed to create sink input.");
|
||||
|
|
@ -525,7 +525,7 @@ static int esd_proto_stream_record(connection *c, esd_proto_t request, const voi
|
|||
sdata.source = source;
|
||||
pa_source_output_new_data_set_sample_spec(&sdata, &ss);
|
||||
|
||||
pa_source_output_new(&c->source_output, c->protocol->core, &sdata, 0);
|
||||
pa_source_output_new(&c->source_output, c->protocol->core, &sdata);
|
||||
pa_source_output_new_data_done(&sdata);
|
||||
|
||||
CHECK_VALIDITY(c->source_output, "Failed to create source output.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue