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

Help to resolve Samsung devices support 3.5 mm headphones and Type C headphones. #1999

Open
nguyenquynh201 opened this issue Apr 12, 2024 · 1 comment
Assignees
Labels
question Samsung specific to Samsung devices

Comments

@nguyenquynh201
Copy link

Android version(s): 13
Android device(s): SM-A325F

Device
SM-A325F (Samsung A32)

App name used for testing:
LiveEffect

Currently, when testing with your sample and my project, I noticed that when using a 3.5 mm headphone jack, numOutputFrames returns the same synchronized packet, but when using Type C headphones, numOutputFrames returns different packets. I hope to receive support from you, and please let me know what additional information you need so I can provide it.

image
@philburk
Copy link
Collaborator

The 3.5mm jack and the USB jack are different devices.
I suspect the 3.5mm jack supports MMAP but the USB jack does not.
That can cause a difference in their behavior.

There is no guarantee that numOutputFrames will be consistent. It will certainly vary if sample rate conversion is involved.

Let us know if you have more questions or close this Issue.

@philburk philburk added question Samsung specific to Samsung devices labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Samsung specific to Samsung devices
Projects
None yet
Development

No branches or pull requests

2 participants