commit | 1a0ecc383391e02a46be7bd4e9ec682e839b79e5 | [log] [tgz] |
---|---|---|
author | Yung Ti Su <andysu@google.com> | Mon May 07 11:09:15 2018 +0800 |
committer | Yung Ti Su <andysu@google.com> | Mon May 07 16:41:16 2018 +0800 |
tree | 51cd658083d107fa15ddf2664067516a5e4ac6f5 | |
parent | 527da4c9d30c977c0105a288b20a77f0f9e8d0d3 [diff] |
AudioMixer: Always do prepareForReformat() in setChannelMasks() Always prepareForReformat() when channelmask has changed, no matter needing a downmix or not. Since ReformatBufferProvider would need to reset when channelmask has changed. Test: self-tested more then 50 times when a voice call ended and there is an incoming Skype/LINE ringtone. Bug: 78199280 Test: bug is fixed. Change-Id: I08c74b00fcbaf8aacef7b1d1c1e840cae347accb Signed-off-by: Yung Ti Su <andysu@google.com>