mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
core: initialize sink/source priorities automatically based on their proplists
This commit is contained in:
parent
18b13a89a5
commit
8bf2e3fe94
3 changed files with 50 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ pa_source* pa_source_new(
|
|||
s->module = data->module;
|
||||
s->card = data->card;
|
||||
|
||||
s->priority = pa_device_init_priority(s->proplist);
|
||||
|
||||
s->sample_spec = data->sample_spec;
|
||||
s->channel_map = data->channel_map;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue