commit | bc1a277ade69a780947bae94252a87981a8901af | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Apr 08 17:03:27 2021 -0700 |
committer | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | Thu Apr 08 18:52:11 2021 -0700 |
tree | 0b139a6d8d596f95e8131c4608edc69dbe3621ec | |
parent | 66547278fcb2b2dcdfd7969503560294fdc6d15f [diff] |
C2SoftAacEnc: Fix setting SBR mode SBR Mode value in C2 and the value that aac encoder library accepts are not same. SBR Mode in c2 is used to signal both SBR mode and ratio. So when setting AACENC_SBR_MODE in the encoder library, c2's SBR value needs to be appropriately converted to values that encoder understands. Bug: 184898642 Test: atest set aac-sbr-mode using AMediaCodec based application Test: atest CtsMediaV2TestCases Change-Id: If4565297bd116230731e454c48f86ba8ca431e2b