mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
bluetooth: fix typo with service_{read,write}_type
This commit is contained in:
parent
fd32fee448
commit
3ecb80e19a
1 changed files with 4 additions and 2 deletions
|
|
@ -1739,7 +1739,8 @@ static void shutdown_bt(struct userdata *u) {
|
||||||
if (u->service_fd >= 0) {
|
if (u->service_fd >= 0) {
|
||||||
pa_close(u->service_fd);
|
pa_close(u->service_fd);
|
||||||
u->service_fd = -1;
|
u->service_fd = -1;
|
||||||
u->service_write_type = u->service_write_type = 0;
|
u->service_write_type = 0;
|
||||||
|
u->service_read_type = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (u->write_memchunk.memblock) {
|
if (u->write_memchunk.memblock) {
|
||||||
|
|
@ -1755,7 +1756,8 @@ static int init_bt(struct userdata *u) {
|
||||||
shutdown_bt(u);
|
shutdown_bt(u);
|
||||||
|
|
||||||
u->stream_write_type = 0;
|
u->stream_write_type = 0;
|
||||||
u->service_write_type = u->service_write_type = 0;
|
u->service_write_type = 0;
|
||||||
|
u->service_read_type = 0;
|
||||||
|
|
||||||
if ((u->service_fd = bt_audio_service_open()) < 0) {
|
if ((u->service_fd = bt_audio_service_open()) < 0) {
|
||||||
pa_log_error("Couldn't connect to bluetooth audio service");
|
pa_log_error("Couldn't connect to bluetooth audio service");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue