Kinc icon indicating copy to clipboard operation
Kinc copied to clipboard

Sound stuttering on Android

Open jefvel opened this issue 9 years ago • 1 comments

When starting an application on android there's a chance for all sounds to seemingly play at half speed, sounding very stuttery. It usually stops after the application has been restarted.

Test it with this repository: https://github.com/jefvel/kha-tests/tree/audio-test

Build, run, and touch the screen for sounds. It should make a single click noise. Close it completely and start up again. From time to time it will sound like two clicks, or straight up crash on startup.

jefvel avatar Jan 22 '17 01:01 jefvel

I'm unable to reproduce this issue on both a Samsung SM-G930F and Fairphone FP2. Neither did it crash nor did it stutter, play at half speed or sound like two clicks after several attempts of running, touching and every time closing completely.

I had to modify your Main.hx to get it to actually compile / run.

Can you still reproduce the issue with up to date versions of Kinc / Kha?

tcdude avatar Jun 08 '20 22:06 tcdude

Hm, this was probably fixed when we switched to Android's C++-audio-API.

RobDangerous avatar Dec 05 '22 22:12 RobDangerous