phhusson / treble_experimentations

Notes about tinkering with Android Project Treble
3.41k stars 660 forks source link

Bluetooh earphone works, but system switch to phone speaker after a while #2498

Open buddhi-deep opened 1 year ago

buddhi-deep commented 1 year ago

Current Behavior:

Bluetooh earphone works, but system switch to phone speaker after a while ### Describe the bug After I connect to the earphone and play media for a while, system suddenly switched to phone speaker ### To Reproduce 1. Connect to Bluetooth earphone 2. Play some videos ### Expected behavior Audio output stay on earphone ### Smartphone (please complete the following information): - Device: Redmi note 11T 5G(Evergo) - Build Flavor: PixelExperience_Plus_arm64-ab-13.0-20221124-UNOFFICIAL.img.xz - Version 20221124 ### Additional context Logs: ``` 12-31 23:06:11.119 1758 4366 W AidlConversion: legacy2aidl_audio_channel_mask_t_AudioChannelLayout: no AudioChannelLayout found for legacy input / voice audio_channel_mask_t value 0x3 12-31 23:06:11.119 1758 4366 E AidlConversion: legacy2aidl_audio_channel_mask_t_bits_AudioChannelLayout_layout: legacy input audio_channel_mask_t 0x3 contains unrecognized bits 0x3 12-31 23:06:11.119 1699 1952 W AudioManager: updateAudioPortCache: listAudioPorts failed ```