mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
core: add priority field to pa_sink/pa_source
This commit is contained in:
parent
ca2c0f22d8
commit
3b54849a08
5 changed files with 10 additions and 0 deletions
|
|
@ -109,6 +109,8 @@ struct pa_sink {
|
|||
pa_hashmap *ports;
|
||||
pa_device_port *active_port;
|
||||
|
||||
unsigned priority;
|
||||
|
||||
/* Called when the main loop requests a state change. Called from
|
||||
* main loop context. If returns -1 the state change will be
|
||||
* inhibited */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue