commit | caf7f48a0ef558689d39aafd187c1571ff4128b4 | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Tue Nov 25 17:50:47 2014 -0800 |
committer | Eric Laurent <elaurent@google.com> | Tue Nov 25 17:50:47 2014 -0800 |
tree | 7a2c90732783e2c90cabb6045c4ab0dcea842bf1 | |
parent | 087eb332cdd64026de27c914194127f8fda1a846 [diff] |
AudioRecord: use audio attributes instead of audio source. Added AudioRecord constructor with audio attributes. Replaced AudioPolicymanager::getInput() by getInputForAttr(). No new functionality for now. Also: - Fixed warnings in AudioPolicyManager - Allocate audio session ID before calling getOutputForAttr() in AudioTrack. Bug: 16006090. Change-Id: I15df21e4411db688e3096dd801cf579d76d81711