Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Audio doesn't play immediately on button press, and never if released very quickly #29

Open
sudofox opened this issue Nov 1, 2022 · 2 comments

Comments

@sudofox
Copy link

sudofox commented Nov 1, 2022

See attached video for a demonstration

I haven't looked into the code to see why this might be the case, and I'm not a very good Android developer but without looking at the code my headcanon is that maybe you're creating an audio context on each button press and when I release the button before it can play the tone it destroys that audio context and you don't hear anything as a result

@sudofox
Copy link
Author

sudofox commented Nov 1, 2022

@sudofox
Copy link
Author

sudofox commented Nov 15, 2022

Here, I compressed the video down enough to embed in the GH issue.

8mb.video-UJN-YV5MBA2Z.mp4

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

No branches or pull requests

1 participant