google / google/oboe

Galaxy A15 - When InputPreset is set to VoiceCommunication, audio data from the microphone is blank.

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

Description

Android version(s): 14
Android device(s): Galaxy A15 (SM-A156E)
Oboe version: 1.9.0, 1.7.0
App name used for testing: OboeTester

**Short description**
On a Galaxy A15, when you select "RECORD AND PLAY" in OboeTester and the InputPreset is set to VoiceCommunication, the audio data coming from the input callback is empty.

**Steps to reproduce**
1. Start OboeTester
2. Press 'RECORD AND PLAY'
3. Select InPreset "VoiceComm"
4. Press 'RECORD'
5. Speak into device
6. Press 'STOP'
7. Press 'PLAY'

**Expected behavior**
Step4: VolumeBar is working
Step7: Can hear the audio

**Actual behavior**
Step4: VolumeBar not working
Step7: Cannot hear the audio

**Device**
Galaxy A15 (SM-A156E) - Android 14

ro.product.brand = samsung
ro.product.manufacturer = samsung
ro.product.model = SM-A156E
ro.product.device = a15x
ro.product.cpu.abi = arm64-v8a
ro.build.description = a15xnsdxx-user 14 UP1A.231005.007 A156EDXS1AXA4 release-keys
ro.hardware = mt6835
ro.hardware.chipname =
ro.arch =
| grep aaudio = [aaudio.mmap_exclusive_policy]: [2]
[aaudio.mmap_policy]: [2]

**Any additional context**
・Tried changing all the settings that can be made with OboeTester, but there was no improvement.
・Checked the audio data variables immediately after the callback was called, and they were all set to 0.
 https://github.com/google/oboe/blob/main/src/common/AudioStream.cpp#L62
・When InputPreset was set to anything other than VoiceCommunication(such as VoiceRecognition), audio data was received.
・Able to make calls using a voice calling app (FaceBook Messanger) that uses the oboe.
 ・Particularly noteworthy once we use FaceBook Messenger, the problem does not reoccur on OboeTester.
 ・The problem reoccurred after resetting the device.

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.