google / google/oboe

Low Latency Input on Galaxy S10 is silent for MMAP Generic

Open
#1,320 2 comments 0 reactions 1 assignee Assigned to @nanangizz View on GitHub
bug quirk Samsung
Dominant language
C++
Stars
4.1k
Forks
639
Avg merge
2d 23h
Merged PRs (30d)
8

Description

Similar to issue #1229, different device & params.

Android version(s): 11
Android device(s): Samsung Galaxy S10
Model: SM-G973F/DS
Chipset: Samsung Exynos 9 Octa 9820 (based on [this](https://www.phonemore.com/specs/samsung/galaxy-s10/sm-g973fds-128gb/))
Oboe version: 1.6.0
App name used for testing: OboeTester

Tested using both TEST INPUT or RECORD AND PLAY.

Configured parameters:
```
Sample Rate: 16000
Channels: 1
Format: PCM_l16
Perf: LOW_LATENCY
InPreset: Generic
MMAP: Yes
Exclusive: Yes
Convert: SRC: High
```

When `Convert: SRC: High` is changed to `Convert: SRC: None`, recording looks fine (i.e: not silence) but the Low Latency mode is disabled (yet requested).

Also, when `MMAP: Yes` is changed to `MMAP: No`, recording looks fine and Low Latency mode is enabled. However, currently we want to avoid having some kind of device type check & disabling MMAP for some problematic devices in our software, as we don't know which devices are affected (other than Samsung S10 & Galaxy Note 20) and it seems that disabling MMAP requires access to an internal API.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.