google / google/oboe

aaudio capture with noise on vivo x50pro+ (V2011A)

Open
#1,686 8 comments 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): 10
Android device(s): vivo x50pro+ (V2011A)
Oboe version: lastest
App name used for testing: OboeTester
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)

**Short description**
capture with noice

**Steps to reproduce**
1. select "Record and play" test
2. select aaudio + 48k+1channel+Generic(InPreset)
3. Do "Record"

Problem and Question:
If I set "Input margin" to 2, the capture works well. I see this setting actually call stream->waitForAvailableFrames, my question is if the issue cased by xrun happens? However, I always get 0 value of stream->getXRunCount(), is this because the device does not support the function or other possible reason?

Thanks a lot.

https://user-images.githubusercontent.com/13726257/209959288-2f8105ea-9215-427b-93df-0356637d6172.mp4

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.