Parent: c53e232f210a7171d767392a108c71e674d66c2f
Author: Archie Pusaka <apusaka@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2020-07-23 19:36:00
Tree: 8d4351570cf5b76b4baf15d2227e9a7ca71b0201
audio/transport: change volume to 8bit The valid range of volume is 0 - 127, yet it is stored in 16bit data type. This patch modifies it so we use 8bit data type to store volume instead. Furthermore we also use signed type, so negative values can be used to indicate invalid volume.
Diffstat
| M | profiles/audio/avrcp.c | | | 17 | +++++++++++- - - - - - |
| M | profiles/audio/avrcp.h | | | 35 | +++++++++++++++++- - - - - - - - - - - - - - - - - - |
| M | profiles/audio/media.c | | | 4 | ++- - |
| M | profiles/audio/transport.c | | | 45 | ++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - |
| M | profiles/audio/transport.h | | | 8 | ++++- - - - |
5 files changed, 56 insertions(+), 53 deletions(-)