Very high latency when more than 2 audio channels are used
- Dominant language
- C++
- Stars
- 4.1k
- Forks
- 639
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 8
Description
Android version(s): 9/10
Android device(s): Pixel 3a, Samsung Galaxy s10
Oboe version: 1.4.2
App name used for testing:
Hello Oboe
**Short description**
On some devices the latency is very high when more than 2 channels are used.
**Steps to reproduce**
- launch the sample app Hello Oboe on a device connected to a multichannel audio interface (in my case Pioneer WeGo4 or Reloop BeatPad2).
- Latency is around 5 ms
- Select “Channel count” : 4
**Expected behavior**
- Latency is a bit higher but not too much
**Actual behavior**
- Latency is around 150 ms, sometime 200 ms.
**Any additional context**
- I observe the same behaviour in my app. With 2 channels, I can set a buffer size of 192 frames. But with 4 channels any buffer smaller than 2000 frames trigger underruns.
- Moto G5 (android 8.1) does not have that problem. The latency is the same when selecting 4 channels.
Contributor guide
Assessment
This issue has not been assessed yet.