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

Audio&Haptic synchronicity managment #26

Open
butterl opened this issue May 29, 2023 · 0 comments
Open

Audio&Haptic synchronicity managment #26

butterl opened this issue May 29, 2023 · 0 comments

Comments

@butterl
Copy link

butterl commented May 29, 2023

From the project you share, seems only here talking about the rule of syncing in Audio & haptic, or I missed something?
https://github.com/Lofelt/NiceVibrations/blob/main/clip-players/src/lib.rs#L25

In Android, Audio service and vibration service not running in same context, that means :

  1. play a short feedback like ui button, the sound&haptic is not easy to find the time gap
  2. in inputmethod scenario,the user input triggerd sound&haptic is easily to feel the gap
  3. play a long song/streaming & haptic , without realtime sync like video&audio, the time gap may easily to feel

From the IOS example,seems you are useing a standard audio API and not using any synchronicity between audio and haptic in SDK ?

@butterl butterl changed the title Audio&Haptic sync in Android Audio&Haptic synchronicity managment May 29, 2023
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

1 participant