summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/common/include/Volume.h
Commit message (Collapse)AuthorAgeFilesLines
* audio policy: add support for device combo with speaker safeEric Laurent2015-07-071-0/+2
| | | | | | | | | | combo devices with AUDIO_DEVICE_OUT_SPEAKER_SAFE were not supported by audio policy manager causing selection of speaker+headphone when spekaer_safe+headphone would be the right selection. Bug: 21537010. Change-Id: I9865352559c9d32c6754ad3d2b84bddfe2dc8aac
* audio policy: volume in dBsEric Laurent2015-04-081-1/+21
| | | | | | | | | | Volumes are now stored and exchanged in dBs to be consistent with the volume tables. They are converted if needed when applied to the target gain controller. Change-Id: I916cbb0bbe65c916444b8c65a2bdca9645c58399
* Create StreamDescriptor and associated collection within commonFrançois Gaffie2015-04-011-0/+137
Create StreamDescriptor and associated collection within common common policy pillar elements. It moves the code from managerdefault and creates helpers function within the collection. It also split the AudioGain in a common volume header and AudioGain class. Change-Id: I1bb80e4219506f8c9042367085db328d317cb668 Signed-off-by: François Gaffie <francois.gaffie@intel.com>