Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ac860342 authored by Kuowei Li's avatar Kuowei Li
Browse files

audio: only allow AudioMix with same format on direct output.

When the AudioMix rule is match the direct output and both format are
pcm, the AudioPolicy is going to invalidate the AudioTrack and it
will cause audio cutting on direct output.
For AudioTrack going to direct output, AudioMix should only be
permitted when the format is exactly same.

Bug: 326571112
Test: Manual
Change-Id: I47bea6c4695a977d38a5d95e155b782a150bfaaa
parent 17eaf20e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment