PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits: 24c2a527 by Igor V. Kovalenko at 2021-03-03T22:23:37+00:00 bluetooth: fix typo checking if target codec is available A2DP switch-codec command implementation must check if target codec is good, not the one we want to switch from. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/518> - - - - - 1 changed file: - src/modules/bluetooth/module-bluez5-device.c Changes: ===================================== src/modules/bluetooth/module-bluez5-device.c ===================================== @@ -2460,7 +2460,7 @@ static int bluez5_device_message_handler(const char *object_path, const char *me is_a2dp_sink = u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK; - if (!u->a2dp_codec->can_be_supported(is_a2dp_sink)) { + if (!codec->can_be_supported(is_a2dp_sink)) { pa_log_info("Codec not found on system"); return -PA_ERR_NOTSUPPORTED; } View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/24c2a527f0d1395bd394e165f837ca40fb106549 -- View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/24c2a527f0d1395bd394e165f837ca40fb106549 You're receiving this email because of your account on gitlab.freedesktop.org.
_______________________________________________ pulseaudio-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits
