Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: On Android, some short sound effects cannot be played properly when connecting Bluetoothheadset #188

Open
shingohu opened this issue Feb 24, 2025 · 1 comment

Comments

@shingohu
Copy link

shingohu commented Feb 24, 2025

Description

On Android, we have a short sound effect file that is only a few hundred millimeters long. When played using the phone speaker, everything works normally and can be played normally with each click. However, when connected to bluetoothheadset or bluetootha2dp, sometimes the sound cannot be played normally, especially when the app returns from the background to the foreground. There is a high probability that the first click will not play the sound

The probability of this problem occurring with certain Bluetooth earphones is high, and it is unclear whether it is related to the Bluetooth earphones or the system itself

@alnitak
Copy link
Owner

alnitak commented Feb 24, 2025

Ho @shingohu,

yes this is a common problem related to the BT headset. They may take some time when connecting to the phone and within this time the sound has been played without earing it.

You may consider playing the sound after some delay when the headset are connected. Also because BT devices has always some ms of delay as discussed in #184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants