Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marijn Suijten
pulseaudio
Commits
92f39a96
Commit
92f39a96
authored
Oct 25, 2020
by
pali
Committed by
Marijn Suijten
Oct 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! bluetooth: Implement A2DP codec switching and backchannel support
parent
90cf66b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/modules/bluetooth/bluez5-util.c
src/modules/bluetooth/bluez5-util.c
+1
-1
No files found.
src/modules/bluetooth/bluez5-util.c
View file @
92f39a96
...
...
@@ -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 */
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
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment