summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "AnotherPacketSource.cpp: Do not queue discontinity signal buffer ↵Wei Jia2014-11-069-57/+55
|\ | | | | | | resulted from seek." into lmp-mr1-dev
| * AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted ↵Wei Jia2014-11-069-57/+55
| | | | | | | | | | | | | | | | | | from seek. This will remove the unnecessary flush for seek. Bug: 17511837 Change-Id: I4b7acfc71a410372f5c630afb94b6a95d09d8974
* | Merge "Pass resolution to Crypto plugin on format change" into lmp-mr1-devJeff Tinker2014-11-065-2/+43
|\ \
| * | Pass resolution to Crypto plugin on format changeJeff Tinker2014-11-035-2/+43
| | | | | | | | | | | | | | | Change-Id: I56cd557ce3525fe625db8c312d2557d3c8b51101 related-to-bug: 16034599
* | | Merge "Add missing secure stop methods" into lmp-mr1-devJeff Tinker2014-11-065-3/+83
|\ \ \ | |/ /
| * | Add missing secure stop methodsJeff Tinker2014-10-315-3/+83
| | | | | | | | | | | | | | | | | | | | | b/18053197 b/18076411 Change-Id: I923dc893d48c70bf17980007b32f0ac5dfd22896
* | | IAudioPolicyService: bound array size in queryDefaultPreProcessingEric Laurent2014-11-052-5/+13
| | | | | | | | | | | | | | | Bug: 18226810. Change-Id: Ib8e2bfe835a8681aac50bf23161db14e50c9a124
* | | Merge "remove some restrictions on effect output channels" into lmp-mr1-devEric Laurent2014-11-041-1/+2
|\ \ \
| * | | remove some restrictions on effect output channelsEric Laurent2014-11-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not prevent from attaching effects to a non stereo output thread, unless the output thread is a mixer thread. Bug: 18157592. Change-Id: I6ac3187187a1b8aade7db04ea6dfbc47dacc25c3
* | | | Merge "audio: fix talkback why alarm is playing" into lmp-mr1-devEric Laurent2014-11-041-4/+11
|\ \ \ \
| * | | | audio: fix talkback why alarm is playingEric Laurent2014-11-031-4/+11
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert attributes usage "assistance accessibility" to a stream type guarantying that the prompt is audible and not muted by policy manager. Bug: 17994328. Change-Id: I89f53f2ce84b499b859336c0a1a3a0332ee670f5
* | | | am 9c0c41ff: am 42f785c5: am 4fbe49a8: am 96016c2d: am 9944ff09: am ↵Eric Laurent2014-11-040-0/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. automerge: ca83dd2 automerge: ba30b45 automerge: 10e898c * commit '10e898cc583473d4c3604456b48e008f90d82f70':
| * \ \ \ am 9c0c41ff: am 42f785c5: am 4fbe49a8: am 96016c2d: am 9944ff09: am ↵Eric Laurent2014-11-030-0/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. automerge: ca83dd2 automerge: ba30b45 * commit '9c0c41ff36926030778a8a41210d02602c5a9f62':
| | * \ \ \ am 42f785c5: am 4fbe49a8: am 96016c2d: am 9944ff09: am 70c3507d: am ↵Eric Laurent2014-11-030-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. automerge: ca83dd2 automerge: ba30b45 * commit 'ba30b4547c6b7ca949ef74e760ccc6157f435690':
| | | * \ \ \ am 42f785c5: am 4fbe49a8: am 96016c2d: am 9944ff09: am 70c3507d: am ↵Eric Laurent2014-10-311-1/+19
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. automerge: ca83dd2 * commit 'ca83dd27f6c662bcbb0cea204c4df7ca77a479fd': audio policy: validate stream type received from binder calls.
* | | | \ \ \ \ am 9c356efa: Revert "audio: prevent larger than required sleeps - DO NOT ↵Chris Elliott2014-11-040-0/+0
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MERGE" automerge: b6dcdbf -s ours automerge: ed394bc -s ours automerge: 953705d -s ours * commit '953705d721627558bbdcd0c014ba3a95f073f4da':
| * | | | | | | am 9c356efa: Revert "audio: prevent larger than required sleeps - DO NOT ↵Chris Elliott2014-11-030-0/+0
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MERGE" automerge: b6dcdbf -s ours automerge: ed394bc -s ours * commit '9c356efa84e6fa756ebcce88ea192921f1a0da3e':
| | * | | | | | Revert "audio: prevent larger than required sleeps - DO NOT MERGE" ↵Chris Elliott2014-11-030-0/+0
| | |\ \ \ \ \ \ | | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: b6dcdbf -s ours automerge: ed394bc -s ours * commit 'ed394bcfa79da3dd25cd24d485aa0d063818a977':
| | | * | | | | Revert "audio: prevent larger than required sleeps - DO NOT MERGE"Chris Elliott2014-10-280-0/+0
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: b6dcdbf -s ours * commit 'b6dcdbf436ffacb52a41ac8ef9b07f99fd64779f': Revert "audio: prevent larger than required sleeps - DO NOT MERGE"
* | | | \ \ \ \ \ am 4b189fe2: audio: prevent larger than required sleeps - DO NOT MERGE ↵Chris Elliott2014-11-040-0/+0
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 620208d -s ours automerge: b2c3ad1 -s ours automerge: 4f97e69 -s ours * commit '4f97e6933b529e3822fb3ef121a9f0139e7a04d7':
| * | | | | | | | am 4b189fe2: audio: prevent larger than required sleeps - DO NOT MERGE ↵Chris Elliott2014-11-030-0/+0
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 620208d -s ours automerge: b2c3ad1 -s ours * commit '4b189fe2c22bc0079ec6d40947de9172c36f49eb':
| | * | | | | | | audio: prevent larger than required sleeps - DO NOT MERGE automerge: 620208d ↵Chris Elliott2014-11-030-0/+0
| | |\ \ \ \ \ \ \ | | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours automerge: b2c3ad1 -s ours * commit 'b2c3ad13cb248159910bef6ac51f7e6023e133b9':
| | | * | | | | | audio: prevent larger than required sleeps - DO NOT MERGEChris Elliott2014-10-280-0/+0
| | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 620208d -s ours * commit '620208dc0bbd7a0792702df3ab08800fdad60cec': audio: prevent larger than required sleeps - DO NOT MERGE
* | | | \ \ \ \ \ \ am 1aed5c92: Revert "audio: prevent larger than required sleeps - DO NOT ↵Chris Elliott2014-11-040-0/+0
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MERGE" automerge: 2feb18d -s ours automerge: bb92112 -s ours automerge: 0a978b7 -s ours * commit '0a978b70e95f8499831843b155d64fecc54208e8':
| * | | | | | | | | am 1aed5c92: Revert "audio: prevent larger than required sleeps - DO NOT ↵Chris Elliott2014-11-030-0/+0
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MERGE" automerge: 2feb18d -s ours automerge: bb92112 -s ours * commit '1aed5c9213e6f7eb31b53bc7771889b146e39877':
| | * | | | | | | | Revert "audio: prevent larger than required sleeps - DO NOT MERGE" ↵Chris Elliott2014-11-030-0/+0
| | |\ \ \ \ \ \ \ \ | | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 2feb18d -s ours automerge: bb92112 -s ours * commit 'bb9211236cf6104d16fc09b58550ce692d9af4e9':
| | | * | | | | | | Revert "audio: prevent larger than required sleeps - DO NOT MERGE"Chris Elliott2014-10-280-0/+0
| | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 2feb18d -s ours * commit '2feb18ddfdbd20941ebcc3314780a582da5608e4': Revert "audio: prevent larger than required sleeps - DO NOT MERGE"
* | | | \ \ \ \ \ \ \ am d6d711c3: audio: prevent larger than required sleeps - DO NOT MERGE ↵Haynes Mathew George2014-11-040-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 8c0417c -s ours automerge: 52ea677 -s ours automerge: d20609f -s ours * commit 'd20609f642d8455f8cf548ac0ca42c732931b891':
| * | | | | | | | | | am d6d711c3: audio: prevent larger than required sleeps - DO NOT MERGE ↵Haynes Mathew George2014-11-030-0/+0
| |\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 8c0417c -s ours automerge: 52ea677 -s ours * commit 'd6d711c3b12cca2c6eee21b088831144e1fb0550':
| | * | | | | | | | | audio: prevent larger than required sleeps - DO NOT MERGE automerge: 8c0417c ↵Haynes Mathew George2014-11-030-0/+0
| | |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -s ours automerge: 52ea677 -s ours * commit '52ea677828b23b216484dd34f84da2699ed850e3':
| | | * | | | | | | | audio: prevent larger than required sleeps - DO NOT MERGEHaynes Mathew George2014-10-280-0/+0
| | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | automerge: 8c0417c -s ours * commit '8c0417c173d1fd618ae54e2d721b0ec360ea70cc': audio: prevent larger than required sleeps - DO NOT MERGE
* | | | \ \ \ \ \ \ \ \ Merge "CameraService: API1: fix picture FOV" into lmp-mr1-devChien-Yu Chen2014-11-031-0/+14
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | CameraService: API1: fix picture FOVChien-Yu Chen2014-10-281-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the wrong assumption that active array size equals to pixel array size. bug 17918247 Change-Id: Ic308f281fb677332a74e95abb473c5b13063eeca
* | | | | | | | | | | | | camera: fix vendortags section malloc failureGaurav Batra2014-11-031-1/+1
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size_t type variables should be initialized properly especially on 64-bit archs if they are type casted to shorter datatypes for some operation and then later used in entirety. The results may be unpredictable since the most significant bytes may contain garbage. Bug 18222311 Change-Id: Iced82e964cf8c98f6856d257fc1534a5237a9064
* | | | | | | | | | | | am aa751488: am 5987e7ae: am ca83dd27: (-s ours) am 42f785c5: am 4fbe49a8: ↵Eric Laurent2014-11-010-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am 96016c2d: am 9944ff09: am 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit 'aa751488b338e7f806bb20cb69e60fcd2b0ad738': audio policy: validate stream type received from binder calls.
| * | | | | | | | | | | am 5987e7ae: am ca83dd27: (-s ours) am 42f785c5: am 4fbe49a8: am 96016c2d: ↵Eric Laurent2014-10-310-0/+0
| |\ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am 9944ff09: am 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit '5987e7ae4491842f9c8d0e8a888105a56273159d': audio policy: validate stream type received from binder calls.
| | * | | | | | | | | | am ca83dd27: (-s ours) am 42f785c5: am 4fbe49a8: am 96016c2d: am 9944ff09: ↵Eric Laurent2014-10-310-0/+0
| | |\ \ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit 'ca83dd27f6c662bcbb0cea204c4df7ca77a479fd': audio policy: validate stream type received from binder calls.
| | | * | | | | | | | | am 42f785c5: am 4fbe49a8: am 96016c2d: am 9944ff09: am 70c3507d: am ↵Eric Laurent2014-10-311-1/+19
| | | |\ \ \ \ \ \ \ \ \ | | | | |_|_|_|_|_|/ / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit '42f785c5d5ae596d781171327c98c541f0517feb': audio policy: validate stream type received from binder calls.
| | | | * | | | | | | | am 4fbe49a8: am 96016c2d: am 9944ff09: am 70c3507d: am 450b10c9: am ↵Eric Laurent2014-10-311-1/+19
| | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit '4fbe49a83d41a64d44e363ccd691e7bfc41bb6af': audio policy: validate stream type received from binder calls.
| | | | | * \ \ \ \ \ \ \ am 96016c2d: am 9944ff09: am 70c3507d: am 450b10c9: am d0f9dc71: am ↵Eric Laurent2014-10-311-1/+19
| | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit '96016c2d583ccca9fffd6974cb9473f7effd6cf5': audio policy: validate stream type received from binder calls.
| | | | | | * \ \ \ \ \ \ \ am 9944ff09: am 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am ↵Eric Laurent2014-10-301-1/+19
| | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f5af3a72: am 6d80b687: audio policy: validate stream type received from binder calls. * commit '9944ff09ac4eb076cab994ef245b0103f60836ba': audio policy: validate stream type received from binder calls.
| | | | | | | * \ \ \ \ \ \ \ am 70c3507d: am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am ↵Eric Laurent2014-10-301-1/+19
| | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6d80b687: audio policy: validate stream type received from binder calls. * commit '70c3507d915baaa5a0ab163eeb0a445030f4f492': audio policy: validate stream type received from binder calls.
| | | | | | | | * \ \ \ \ \ \ \ am 450b10c9: am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio ↵Eric Laurent2014-10-301-1/+19
| | | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | policy: validate stream type received from binder calls. * commit '450b10c97514411ef1d0d887d4e18851fd286f0b': audio policy: validate stream type received from binder calls.
| | | | | | | | | * \ \ \ \ \ \ \ am d0f9dc71: am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate ↵Eric Laurent2014-10-301-1/+19
| | | | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stream type received from binder calls. * commit 'd0f9dc7156e531d5cd0615f6e682d2449e08e9a7': audio policy: validate stream type received from binder calls.
| | | | | | | | | | * \ \ \ \ \ \ \ am e0a65f30: am f5af3a72: am 6d80b687: audio policy: validate stream type ↵Eric Laurent2014-10-301-1/+19
| | | | | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | received from binder calls. * commit 'e0a65f3008ac5874106b21d03e19296c8015da41': audio policy: validate stream type received from binder calls.
| | | | | | | | | | | * \ \ \ \ \ \ \ am f5af3a72: am 6d80b687: audio policy: validate stream type received from ↵Eric Laurent2014-10-301-1/+19
| | | | | | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | binder calls. * commit 'f5af3a72f308cd4dff7859e62922ee5a13bd4c15': audio policy: validate stream type received from binder calls.
| | | | | | | | | | | | * \ \ \ \ \ \ \ am 6d80b687: audio policy: validate stream type received from binder calls.Eric Laurent2014-10-301-1/+19
| | | | | | | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6d80b687c3b8d9c8da7cdad7d9813aa51c1cf15e': audio policy: validate stream type received from binder calls.
| | | | | | | | | | | | | * | | | | | | | audio policy: validate stream type received from binder calls.Eric Laurent2014-10-301-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18001784. Bug: 18002005. Change-Id: If08866a3c21bcbfd8cdbbf8336bcf1faad66f321
* | | | | | | | | | | | | | | | | | | | | Support speaker routing for FLAG_BEACONJean-Michel Trivi2014-10-313-11/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for routing audio stream to the speaker when audio attributes carry the FLAG_BEACON value: - associate streams with FLAG_BEACON to the up-to-now unused STREAM_TTS ("Transmitted Through Speaker"). The remapping happens in AudioTrack. - AudioPolicyManager: define new strategy for handling the Beacon behavior, that only goes to speaker. Define new volume curves for STREAM_TTS that are not silence only for the speaker device category. Keep ref count of other streams and never play Beacon streams when anything else is playing: either don't start playback if something else is playing, or unmute STREAM_TTS when it's allowed to play and mute when it's done. - Take into account muting latency when starting an output. Bug 15415971 Change-Id: I26539c7ec1a486accd85bbeb1623e9c7d3a1192f
* | | | | | | | | | | | | | | | | | | | | AudioTrack::flush() will no longer flush later dataGlenn Kasten2014-10-301-5/+22
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 17832076 Change-Id: I4915d782acb8077923e419406b0dcea5b6aab961