google / google/oboe

OnePlus Nord CE 5G (EB2103) 3.5mm headset input is silence with mmap enabled

Open
#1,445 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
4.1k
Forks
639
Avg merge
2d 23h
Merged PRs (30d)
8

Description

Android version(s): 11
Android device(s): OnePlus Nord CE 5G (EB2103)
Oboe version: 1.6.1
App name used for testing: OboeTester (Record and Play)

**Short description**
Input is silence when using 3.5mm headset mic with mmap enabled

**Steps to reproduce**
Navigate to Record and Play within the OboeTester. Record with defaults (AAudio/mmap/exclusive), stop and play.

**Expected behavior**
Audio is picked up by headset mic.

**Actual behavior**
Recording is silence.

**Device**

ro.product.brand = OnePlus
ro.product.manufacturer = OnePlus
ro.product.model = EB2103
ro.product.device = OnePlusNordCE
ro.product.cpu.abi = arm64-v8a
ro.build.description = OnePlusNordCE-user 11 release-keys
ro.hardware = qcom
ro.hardware.chipname =
ro.arch =
| grep aaudio = [aaudio.hw_burst_min_usec]: [2000]
[aaudio.mmap_exclusive_policy]: [2]
[aaudio.mmap_policy]: [2]

**Any additional context**

The issue does not reproduce with the device built-in mic, with Open SL, or with mmap disabled. I have the device in hand so I will be happy to run any further tests or provide any more information that might be helpful. Thank you!

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.