summaryrefslogtreecommitdiffstats
path: root/audio/audio_policy.conf
Commit message (Collapse)AuthorAgeFilesLines
* rename audio policy flagsEric Laurent2012-04-181-2/+2
| | | | Change-Id: Ic42eba3432671f651c9703a07fe7b429a8ec0dff
* audio policy: use configuration fileEric Laurent2012-04-031-0/+46
The audio policy manager implementation now reads a configuration file at boot time that contains descriptors for available audio hardware modules and for each module the profiles of available inputs and outputs streams. The configuration file path on the target is: /system/etc/audio_policy.conf. A default configuration file is given that defines a basic configuration with one primary audio hw module capable of playback and capture. Each platform or device should have its own audio_policy.conf file. Also removed default value of fromCache argument of getDeviceForStrategy() and getNewDevice() methods. Change-Id: I0c773d2331508bbc787f89b123dd6a7b8c10d459