google / google/oboe

Sound distorted when dropped to background.

Open
#838 3 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): Samsung galaxy 7, Samsung Galaxy M10
Oboe Version: 1.3

**Short Description**
Sound becomes "darth vader like" if app drops to background.

**Steps To Reproduce**
Create streams in/out with 1 channel. Start it and after mechanism was successfully started drop app to background.

**Expected behavior**
Normal sound like it was before.

**Actual behavior**
Sound becomes distorted.

**Additional context**
I found that system changes channels to stereo it causes distortion. And my fix was simply init with 2 channel and reduce channels to mono.

I remember that problem was in android 8.0.

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.