Commit 92f39a96 authored by pali's avatar pali Committed by Marijn Suijten

fixup! bluetooth: Implement A2DP codec switching and backchannel support

parent 90cf66b0
...@@ -1758,7 +1758,7 @@ size_t pa_bluetooth_device_find_a2dp_endpoints_for_codec(const pa_bluetooth_devi ...@@ -1758,7 +1758,7 @@ size_t pa_bluetooth_device_find_a2dp_endpoints_for_codec(const pa_bluetooth_devi
} }
/* Change order of capabilities according to preference */ /* Change order of capabilities according to preference */
qsort_r(&endpoints, (count <= endpoints_max_count) ? count : endpoints_max_count, sizeof(const char *), cmp_endpoints, &(struct cmp_arg){ a2dp_codec, capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_sink }); qsort_r(endpoints, (count <= endpoints_max_count) ? count : endpoints_max_count, sizeof(endpoints[0]), cmp_endpoints, &(struct cmp_arg){ a2dp_codec, capabilities_hashmap, &device->discovery->core->default_sample_spec, is_a2dp_sink });
return count; return count;
} }
......
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