summaryrefslogtreecommitdiff
path: root/src/pulsecore/device-port.h
diff options
context:
space:
mode:
authorDavid Henningsson <david.henningsson@canonical.com>2015-11-17 15:10:31 +0100
committerTanu Kaskinen <tanuk@iki.fi>2015-11-22 04:59:23 +0200
commitb1d9b4f62c2f132292efaba862e8490114882ad2 (patch)
treeb7f37251d5f05406ba64a262312f4a4c4c3716aa /src/pulsecore/device-port.h
parent2a71fd7597dd76eb6abab867cd3762429792f680 (diff)
device-port: Add preferred_profile field to pa_device_port
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Diffstat (limited to 'src/pulsecore/device-port.h')
-rw-r--r--src/pulsecore/device-port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/device-port.h b/src/pulsecore/device-port.h
index f35d07cc4..e3224fd48 100644
--- a/src/pulsecore/device-port.h
+++ b/src/pulsecore/device-port.h
@@ -43,6 +43,7 @@ struct pa_device_port {
char *name;
char *description;
+ char *preferred_profile;
unsigned priority;
pa_available_t available; /* PA_AVAILABLE_UNKNOWN, PA_AVAILABLE_NO or PA_AVAILABLE_YES */
@@ -80,6 +81,7 @@ pa_device_port *pa_device_port_new(pa_core *c, pa_device_port_new_data *data, si
void pa_device_port_set_available(pa_device_port *p, pa_available_t available);
void pa_device_port_set_latency_offset(pa_device_port *p, int64_t offset);
+void pa_device_port_set_preferred_profile(pa_device_port *p, const char *new_pp);
pa_device_port *pa_device_port_find_best(pa_hashmap *ports);