commit | 79929fe55911fb257693444ef8455afd965a9d2b | [log] [tgz] |
---|---|---|
author | Zhou Song <zhous@codeaurora.org> | Mon Jan 20 17:57:43 2020 +0800 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Mar 12 05:44:37 2020 -0700 |
tree | b3ce733495debfabe5ffb80b9d402b6f83614045 | |
parent | 7098e119a7ccf9440c0942d1dc5e4816e0868850 [diff] |
hal: do not set custom channel map for mono and stereo clips In case of compress playback for some mono clips, DSP assumes the channel map to be FL/FR, while default custom channel map is set to FC, then volume can't be adjusted. For mono and stereo clips, don't set custom channel map if it's not specified by clients. This can ensure volume can always be applied for FL/FR/FC channels. Change-Id: I28aea5cf98a0a5d794669bc1a8fce674abbd18eb