Commit dcefc290 authored by pali's avatar pali
Browse files

Implement asynchronous switching to HSP or HFP profile handled by hsphfpd backend

parent f65dfcdd
...@@ -389,6 +389,10 @@ pa_bluetooth_transport *pa_bluetooth_transport_get(pa_bluetooth_discovery *y, co ...@@ -389,6 +389,10 @@ pa_bluetooth_transport *pa_bluetooth_transport_get(pa_bluetooth_discovery *y, co
return pa_hashmap_get(y->transports, path); return pa_hashmap_get(y->transports, path);
} }
pa_hashmap *pa_bluetooth_transport_get_all(pa_bluetooth_discovery *y) {
return y->transports;
}
void pa_bluetooth_transport_put(pa_bluetooth_transport *t) { void pa_bluetooth_transport_put(pa_bluetooth_transport *t) {
pa_assert(t); pa_assert(t);
......
...@@ -155,6 +155,7 @@ pa_bluetooth_transport *pa_bluetooth_transport_new(pa_bluetooth_device *d, const ...@@ -155,6 +155,7 @@ pa_bluetooth_transport *pa_bluetooth_transport_new(pa_bluetooth_device *d, const
void pa_bluetooth_transport_set_state(pa_bluetooth_transport *t, pa_bluetooth_transport_state_t state); void pa_bluetooth_transport_set_state(pa_bluetooth_transport *t, pa_bluetooth_transport_state_t state);
pa_bluetooth_transport *pa_bluetooth_transport_get(pa_bluetooth_discovery *y, const char *path); pa_bluetooth_transport *pa_bluetooth_transport_get(pa_bluetooth_discovery *y, const char *path);
pa_hashmap *pa_bluetooth_transport_get_all(pa_bluetooth_discovery *y);
void pa_bluetooth_transport_put(pa_bluetooth_transport *t); void pa_bluetooth_transport_put(pa_bluetooth_transport *t);
void pa_bluetooth_transport_free(pa_bluetooth_transport *t); void pa_bluetooth_transport_free(pa_bluetooth_transport *t);
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment