summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/source.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-08-28 23:30:41 +0200
committerLennart Poettering <lennart@poettering.net>2009-08-28 23:31:05 +0200
commit3b54849a089a492fdc67dce41795afaf3c0c3b50 (patch)
tree835a74e094e8b75dd45869a09d7681a33634074c /src/pulsecore/source.h
parentca2c0f22d8c2cf68f2119ca6f45fe08865451526 (diff)
core: add priority field to pa_sink/pa_source
Diffstat (limited to 'src/pulsecore/source.h')
-rw-r--r--src/pulsecore/source.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/source.h b/src/pulsecore/source.h
index df3f99df..e3e56bc4 100644
--- a/src/pulsecore/source.h
+++ b/src/pulsecore/source.h
@@ -96,6 +96,8 @@ struct pa_source {
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 */