-
Notifications
You must be signed in to change notification settings - Fork 550
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
AAudio: Connecting headphones does not trigger any event. S9 Exynos 9.0 #381
Comments
We have seen this behavior on early versions of P release for AAudio on Pixel. What device and Android version are you seeing this on? OpenSL ES will automatically switch the audio between headset and speakers. But it also can change the latency and disrupts the audio streams, which is why we try to force a disconnect in AAudio. |
OpenSL ES works fine. |
This happens on same device for me too. Along with #380. It means when user plugs in headphones audio continues thru phone speakers. |
Possibly related internal bug b/111711159 |
This is not an Oboe bug. The problem is in the AudioPolicyManager. https://github.com/google/oboe/blob/master/docs/notes/disconnect.md |
The documentation says that the error callbacks should be called when the "primary device" changes, however, it does not when attaching headphones. It does trigger when detaching headphones though ...
The text was updated successfully, but these errors were encountered: