Tap the screen then it will sound. A simple project to test the audio latency. It is a part of this research about audio latency.
- If you touch down the screen will turns red (touch registered). This is by checking for
Input
inUpdate
. - And it will also play a sound with
audioSource.Play()
- On iOS the screen turns red very fast. On Android it is a bit late.
- On both iOS and Android the sound comes very late, as opposed from instantly if you tried it in the editor. (You need to add mouse event)