summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'LA.UM.8.1.r1-14300-sm8150.0' of ↵HEADlineage-17.1Michael Bestas2020-03-091-4/+11
|\ | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/audio into lineage-17.1 "LA.UM.8.1.r1-14300-sm8150.0" Change-Id: Ie69199590430b98f225f67b4707631b96f5ba6c7
| * Merge d9c428452b7f494f816f520840c545296cebc463 on remote branchLinux Build Service Account2020-01-081-0/+7
| |\ | | | | | | | | | Change-Id: Ifb17aab3b0de630f2df8486ee6ce9fa302cf51c4
| | * policy: hal: Force multi-channel pcm playback to deep buffer pathSachin Mohan Gadag2019-12-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | - When hdmi device supports multi channel PCM formats, framework picks compress passthrough profile as playback path. Avoid it by forcing routing to deep buffer based on system property and format type. Change-Id: I7d698eb9fc9b608454fd17314150be9b097f7208
| * | Merge 4788dd469ad8d6f48761f76889ffcb2a4325c189 on remote branchLinux Build Service Account2019-12-091-1/+2
| |\| | | | | | | | | | Change-Id: I91f82003e3c98e5801d8cd2e152a16e34a03befc
| | * policy: fix voice volume is set wrong after device switchKunlei Zhang2019-11-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During voice call, when device switch from speaker to headset, first new device of primary output is set to headset, voice volume is calculated in headset, and then it is applied for voice call correctly. Later, other outputs loop to select new device and caculate volume in new device. Due to inactive output selectes AUIOD_DEVICE_NONE, it causes wrong voice volume is calculated to set. Fix it by add check to avoid applying volume for inactive output. Change-Id: I092d870fe5e32c324c953e595cfbc5fce5696321
| * | Merge 8e7ab369459207ae4f10a4f05e90c8c17ae2f07c on remote branchLinux Build Service Account2019-11-201-3/+2
|/| | | |/ | | | | Change-Id: Iece6452a8173c839b2a50391803bb0c6fba7a450
| * policy-hal : align custom policy with default policyShalini Manjunatha2019-11-101-3/+2
| | | | | | | | | | | | | | | | | | | | This takes changes from default policy commit 5659ed AudioPolicyManager: Ensure direct output matches exact format Otherwise AudioFlinger will fail on createTrack. Change-Id: I8ad8e9a800465b9b167df205f488f1a48b27e527
* | Merge 12bed86f41d7a4e53a442ac4ca181d1e39893059 on remote branchlineage-17.0Linux Build Service Account2019-06-302-4/+2
|\| | | | | | | Change-Id: Ib2960c5a4aa0047d9a3f8f4f87af270c13bd0f9d
| * Merge "audiopolicy: Check open outputs count before closing."qctecmdr2019-06-191-1/+2
| |\
| | * audiopolicy: Check open outputs count before closing.Ramjee Singh2019-06-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In compress offload session subsystem restart triggers invalidaton. For direct or compress session NuPlayer is notified as track cant be restored and it restarts session with direct attributes which fails again as sound card is offline and output descriptor is closed on this failed attempt. While closing the output descriptor its open count is checked and if its less than 1 its logged as fatal. - Fix is to avoid closing of output descriptor if its not opened successfully. Change-Id: I0456edcbdea483a5620a33aca5d4da2b93b04589
| * | Revert "policy_hal: enable integer overflow sanitizer"Banajit Goswami2019-06-141-3/+0
| |/ | | | | | | This reverts commit b1e78f44d9bd8424fb69a44488f8908e250702f4.
* | Merge 177e6ea9a3b65ed28ac70040130fceb3911782ea on remote branchLinux Build Service Account2019-06-142-5/+3
|\| | | | | | | Change-Id: I89f29eb5ed46089e3acaa1b50c170ae7f22ef5d2
| * Merge "policy_hal: enable integer overflow sanitizer"qctecmdr2019-06-121-0/+3
| |\
| | * policy_hal: enable integer overflow sanitizerVikram Panduranga2019-05-311-0/+3
| | | | | | | | | | | | | | | | | | Enable integer overflow sanitizer for kona. Change-Id: I9908c6f107706cf1c57a96f594c5871a1b5ccebc
| * | Merge "policy_hal: avoid unnecessary voip and direct flags setting"qctecmdr2019-06-101-5/+0
| |\ \
| | * | policy_hal: avoid unnecessary voip and direct flags settingyidongh2019-05-091-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When new voip call started with another voip call working, direct output is closed/opened repeatedly because both voip call are trying to acquire direct output. Avoid setting unnecessary voip and direct flags when voip output is in use. CRs-Fixed: 2338187 Change-Id: I01255afb011bf1bdaa43bb83f1ab8874234201f7
* | | | Merge 760433e1c64fd8bd24cd4f6e1f25c83d51934cae on remote branchLinux Build Service Account2019-06-101-2/+0
|\| | | | | | | | | | | | | | | Change-Id: Id10536778b7a7e5858ced5259ac467442d4caddb
| * | | Merge "policy_hal: fix CTS concurrent audio playback"qctecmdr2019-05-311-2/+0
| |\ \ \ | | |_|/ | |/| |
| | * | policy_hal: fix CTS concurrent audio playbackPreetam Singh Ranawat2019-05-271-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -fall back to non-direct output is not working for 3rd playback request when both compress offload and direct pcm are in use as only one flag is set to true due to break statement. -Remove break statement to set both flags to true when both compress offload and direct pcm are in use. Change-Id: I60258ab8c6e3aa611268c087f2d0e02aabe51b41
* | | | Merge 8353c1d8f10cca71b0e95a36a1c5b0b37f516e28 on remote branchLinux Build Service Account2019-05-291-70/+68
|\| | | | | | | | | | | | | | | Change-Id: I1048f113958ffca001c08c75733f886d8fb9d3fb
| * | | policy_hal: Add support in APM for MMAP NO IRQ OutputArun Mirpuri2019-05-141-70/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support in getOutputForDevice for supporting MMAP NO IRQ output. Change-Id: I675abc2f7ef6b83edbdcca396c8412804ce9e19a
* | | | Merge dd0aa1a93668653547f3c452c00ee7fbb9ce3a23 on remote branchLinux Build Service Account2019-05-162-5/+11
|\| | | | | | | | | | | | | | | Change-Id: I9fe21bfda3ff5e7ebf66a83770e4ce144873f254
| * | | Merge "audiopolicy: align custom APM with AOSP" into av-aosp-qc.lnx.10.0Linux Build Service Account2019-05-122-5/+6
| |\ \ \ | | |_|/ | |/| |
| | * | audiopolicy: align custom APM with AOSPDhananjay Kumar2019-05-072-5/+6
| | |/ | | | | | | | | | | | | | | | - Update custom APM for 190501 tag Change-Id: I6f97f3f09dc3e6c7d848480b135499bc100caaa1
| * / audiopolicy: fix null pointer being dereferenced in apmWeiyin Jiang2019-05-061-0/+5
| |/ | | | | | | | | | | | | Fix null pointer being dereferenced in apm. Change-Id: Ibc2ec240c2da31a80ac087ed0f57661b10e97fb3 CRs-Fixed: 2444371
* | Merge 919f4e8dc35a57e26104ebb2426514aea1a81b9a on remote branchLinux Build Service Account2019-05-061-8/+16
|\| | | | | | | Change-Id: Ic8ba602d77edebedd3952861855850b5cd5e658f
| * Merge "policy_hal: handle compress offload concurrency"qctecmdr2019-05-011-6/+14
| |\
| | * policy_hal: handle compress offload concurrencyWeiyin Jiang2019-04-221-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple offload capability is disabled, subsequent session will either try to reuse or close the previous offload session. Hence, offload session from varoius clients will interfere with each other. Fallback to non-direct output when compress offload is already active and clients are not same. Force deep-buffer when falling back from compress offload to non-direct outputs. Change-Id: I6699af71b83c54651976029a9e71be0c99551db6
| * | audio: Retrieve feature flag from config storeRevathi Uddaraju2019-04-241-2/+2
| |/ | | | | | | | | | | Retrieve audio.offload.disable feature flag from config store. Change-Id: Id500874c22b8b1e4f52120ac2f5cb92fd46030e7
* | Merge 9c84a2d384556ed3b5581021efbd1de021fbc65a on remote branchLinux Build Service Account2019-04-260-0/+0
|\| | | | | | | Change-Id: Ia7cb91756fa948b1a9f805e0466d95a8385a5d68
| * audiopolicy: align custom APM with AOSPNaresh Tanniru2019-04-111-10/+8
| | | | | | | | | | | | - Update custom APM for 190404 tag Change-Id: Icb60d59756e7c64ff30aaf3711457293da16a368
* | audiopolicy: align custom APM with AOSPNaresh Tanniru2019-04-171-10/+8
| | | | | | | | | | | | - Update custom APM for 190404 tag Change-Id: Icb60d59756e7c64ff30aaf3711457293da16a368
* | Merge e36bd73d88ae702b71a4d602fb0d863706dfbc94 on remote branchLinux Build Service Account2019-04-152-141/+70
|\| | | | | | | Change-Id: I0904bd0a99da8f8119cfb91105c8915848de3e5d
| * audiopolicy: align custom APM with AOSP.Piyush Balwani2019-04-092-56/+69
| | | | | | | | Change-Id: Ic5112352c5aa1bcc9e889cca76048b6b27b2c4c6
| * audiopolicy: Update audiopolicy for fm and displayportRamjee Singh2019-04-092-85/+1
| | | | | | | | | | | | | | -remove FM related policy changes and update displayport changes for voice support Change-Id: I3c41eab4fff98ea8abb441a94b38275acef53b8a
* | Merge commit '0a3c0b41caff5ac7e943701e62c93979a5cb3dd8' into HEADVara Prasad A V S G2019-04-102-119/+155
|\| | | | | | | | | | | | | | | Conflicts: policy_hal/AudioPolicyManager.cpp policy_hal/AudioPolicyManager.h Change-Id: I3402ff9fb16a546429834473c32da7276a4ec2ba
| * Merge "policy_hal: avoid open stereo channel output for voip_rx flag"qctecmdr2019-04-031-1/+4
| |\
| | * policy_hal: avoid open stereo channel output for voip_rx flagkunleiz2019-03-191-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stereo output is started with setting voip_rx flag. This is not allowed due to voip_rx profile is not supported. Add channel mask and sample rate check to ensure voip_rx flag is set when using correct channel and sample rate. CRs-Fixed: 2414061 Change-Id: Iae9252915006b7f8b695a1e4680845f2e4e3ac8f
| * | audiopolicy: align custom APM with stock APMWeiyin Jiang2019-03-262-118/+151
| |/ | | | | | | | | | | Align custom APM with stock APM to resolve compilation errors. Change-Id: Ifcbad29d43a0d4411cbd4f204122857d51629e5e
| * audiopolicy:Enable custom audio policy.Ramjee Singh2019-03-132-177/+219
| | | | | | | | Change-Id: I493c9155b230373f5041df814508b1c6996fe559
* | audiopolicy:Enable custom audio policy.Ramjee Singh2019-03-222-177/+219
| | | | | | | | Change-Id: I493c9155b230373f5041df814508b1c6996fe559
* | Merge 79381351e5fd97bb488d5133c3017ff3d16ffbf0 on remote branchLinux Build Service Account2019-03-071-4/+2
|\| | | | | | | Change-Id: I89d408eb6f35b380d867dc8dab1b8f5d76bcde6c
| * policy_hal: do not check MODE_IN_COMMUNICATION for voip_rx flagkunleiz2019-02-201-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some VoIP clients may choose to open the streams as soon as the phone state is set to MODE_RINGTONE to allow lower start latency when the call is connected. This patch removes the unnecessary check conditions for MODE_IN_COMMUNICATION since the stream type is sufficient indicator for setting the flags for VoIP calls. Bug: 62782025 Commit: 72ad4b91d6ece44b7967080c44695227c6789147 Change-Id: Idc7e1b6f33921580c0937dee71b2b2105cbd31eb CRs-Fixed: 2399711 Change-Id: I68b9204210a857cf78e9b7467671cd8013a3d789
* | Merge 4ef705ed3bad07e7573b1776cbff51fd8ed63267 on remote branchLinux Build Service Account2019-02-185-672/+1028
|\| | | | | | | Change-Id: I2de414db1e9c6d5c8712f910249d931163a73cbf
| * audio: retrieve feature flag from config storeWeiyin Jiang2019-02-015-672/+1028
| | | | | | | | | | | | Modify customer APM to retrieve flags from audio configuration store. Change-Id: I8aad4ea59373bd12ae9a47196c43abe77834a5e6
* | Merge 6ed73caf3ef1f1840ddfb1408097824c4ffe62a2 on remote branchLinux Build Service Account2019-01-282-127/+27
|\| | | | | | | Change-Id: I410e92a55d9e300a0b54506b99e8a411a4ee38dc
| * audiopolicy: Update AudioPolicyManger for upstream changesNaresh Tanniru2019-01-212-127/+27
|/ | | | | | | | - Update startInput & device address APIs to inline AOSP change Bug: 122963782 Change-Id: I5d95670d3d2399c97e34c88002d3ee04d7732d33
* APM: API changes for QNaresh Tanniru2018-11-052-124/+176
| | | | | | fix API changes in Q. Change-Id: Id464dd785b0fd9c721cf2e3ae7fcd5471b199b3e
* Adapt AudioPolicyManagerCustom to changes in AudioPolicyManager.Lalit Kansara2018-10-172-21/+18
| | | | | | | | | | | Some virtual function signatures changed, and the vectorsEqual function vanished. Reference to base class changes: platform/frameworks/av/+/8fc147b21a7627eeda6383ae501add4dc903634e platform/frameworks/av/+/9de8bd18b21642f6f1fb4e3ef75e44a2cc79f3ce Change-Id: I8cba570b6dec263e1fa5ba3472d0478f99910b90
* Fix build error for a new SP.Lalit Kansara2018-10-171-1/+1
| | | | | | Function getDevicesFromType renamed getDevicesFromTypeMask. Change-Id: I72a712096105f6fe9c319d8c07a350f63acee076