ErrorInternal when trying to open a stream
- Dominant language
- C++
- Stars
- 4.1k
- Forks
- 639
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 8
Description
Android version(s):12,11,10,9,8.1.0
Android device(s): Samsung Galaxy A Variants, Vivo 1807, Vivo 1811, vivo 1904, vivo 1906, vivo 2007, CPH2239, CPH2161, V2048, V2026, Redmi Note 9, Redmi 9A, Redmi 9, POCO X3 Pro, Realme C21-Y, realme Narzo 20, RMX3231, realme 6, realme 7, ANE-LX1, OnePlus Nord2 5G, vivo 1718,...
Oboe version: 1.6.1
App name used for testing:
Smule
**Short description**
When opening a stream you are presented with the ErrorCode `ErrorInternal`
**Steps to reproduce**
Select 'Sing' on any song from the Songbook,
Select any method; Solo, Group, Duet, Join
Error code shown
**Expected behavior**
no error code
**Actual behavior**
error code
**Any additional context**
Point to note, that the record permission is in the manifest and the permission is requested from the user.
```
stream_builder.setDirection(stream_direction); //Direction::Output || Direction::Input
stream_builder.setSampleRate(sample_Rate); // 48000
stream_builder.setFramesPerDataCallback(buffer_size); //240 , 192, 1024, 256
stream_builder.setSampleRateConversionQuality(oboe::SampleRateConversionQuality::Medium);
stream_builder.setFormat(/AudioFormat::I16);
stream_builder.setSharingMode(oboe::SharingMode::Exclusive);
stream_builder.setPerformanceMode(PerformanceMode::LowLatency);
```
The value we set for the setFramesPerDataCallback and setSampleRate are obtained from AudioManager.
We were not able to reproduce this in house, however clients report experiencing it
Contributor guide
Assessment
This issue has not been assessed yet.