Search Issue Tracker
By Design
Votes
0
Found in
3.5.2f2
Issue ID
478463
Regression
No
AudioSource.Play(offsetInSamples) with best latency audio settings on iOS is not always accurate
By design:
This is expected. The playback time is always relative to the next frame start as this is where all sources played within a frame are scheduled to start (also those not started using PlayScheduled). The reason you're seeing 500 samples is probably because this is the default processing block size used on iOS (actually 512 samples), so that defines the maximum delay. Obviously the lower the sample rate gets, the more likely this jitter is to happen, which is probably why you are getting the best results when running in the editor
To reproduce:
1. Create new project
2. Attach AudioTest.js to camera
3. Change audio settings>DSPbuffer size to best latency
4. Build and run on iOS
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Add comment