mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
bluetooth: Trivial function rename
Former setup_bt() was just setting up the transport, so it's easier to follow if the function name makes this more explicit.
This commit is contained in:
parent
67c0090556
commit
94dbf25e81
1 changed files with 2 additions and 2 deletions
|
|
@ -1976,7 +1976,7 @@ static void bt_transport_config(struct userdata *u) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Run from main thread */
|
/* Run from main thread */
|
||||||
static int setup_bt(struct userdata *u) {
|
static int setup_transport(struct userdata *u) {
|
||||||
const pa_bluetooth_device *d;
|
const pa_bluetooth_device *d;
|
||||||
const pa_bluetooth_transport *t;
|
const pa_bluetooth_transport *t;
|
||||||
|
|
||||||
|
|
@ -2016,7 +2016,7 @@ static int init_profile(struct userdata *u) {
|
||||||
pa_assert(u);
|
pa_assert(u);
|
||||||
pa_assert(u->profile != PROFILE_OFF);
|
pa_assert(u->profile != PROFILE_OFF);
|
||||||
|
|
||||||
if (setup_bt(u) < 0)
|
if (setup_transport(u) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if (u->profile == PROFILE_A2DP ||
|
if (u->profile == PROFILE_A2DP ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue