core: add priority field to pa_sink/pa_source

This commit is contained in:
Lennart Poettering 2009-08-28 23:30:41 +02:00
parent ca2c0f22d8
commit 3b54849a08
5 changed files with 10 additions and 0 deletions

View file

@ -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 */