mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -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
|
|
@ -330,8 +330,9 @@ int pa__init(pa_module*m) {
|
|||
data.source = s;
|
||||
pa_source_output_new_data_set_sample_spec(&data, &ss);
|
||||
pa_source_output_new_data_set_channel_map(&data, &cm);
|
||||
data.flags = PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND;
|
||||
|
||||
pa_source_output_new(&o, m->core, &data, PA_SOURCE_OUTPUT_DONT_INHIBIT_AUTO_SUSPEND);
|
||||
pa_source_output_new(&o, m->core, &data);
|
||||
pa_source_output_new_data_done(&data);
|
||||
|
||||
if (!o) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue