summaryrefslogtreecommitdiffstats
path: root/hal/msm8974/platform.h
Commit message (Collapse)AuthorAgeFilesLines
* am 8c83fe85: Add support for voice recognition on headset use caseJean-Michel Trivi2015-09-261-0/+1
|\ | | | | | | | | * commit '8c83fe85b6d1257298208de043acece927787c3f': Add support for voice recognition on headset use case
| * Add support for voice recognition on headset use caseJean-Michel Trivi2015-09-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | Add sound device for voice recognition headset mic. Map it by default to same ACDB as headset mic. Use it when sound source is VOICE_RECOGNITION and the input audio device is AUDIO_DEVICE_IN_WIRED_HEADSET. Bug 22504877 Change-Id: I7ebd9ed0f805c6c6941ba9ddfa3aa7ad0587effb
* | hal: Add support for HFP featureUday Kishore Pasupuleti2015-09-191-0/+2
| | | | | | | | | | | | | | | | - add support for audio tuning of HFP - add TX reference for TX Echo Cancellation Change-Id: I5d7ffe1481a5093262b4b94ae0325fa81111feac Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
* | am e04901bf: Merge "msm7984: fix plaform_set_parameters()." into mnc-dr-devEric Laurent2015-09-141-1/+2
|\| | | | | | | | | * commit 'e04901bfccd127bbf24f0064077c9ff93c2401e1': msm7984: fix plaform_set_parameters().
| * msm7984: fix plaform_set_parameters().Eric Laurent2015-09-141-1/+2
| | | | | | | | | | | | | | | | | | Do not reset max mic count to default if the key is not found. This will reset any previously set mic count if another parameter is listed after in audio_platform_info.xml. Bug: 23942738. Change-Id: Ib027756ab83141570a57984b1cb884864646660d
* | am 9e7af36d: Merge "hal: Fix sidetone sequence during voice call" into ↵Eric Laurent2015-08-241-0/+1
|\| | | | | | | | | | | | | mnc-dr-dev * commit '9e7af36d52afbc04f3d86ba2739b93faa1f76b61': hal: Fix sidetone sequence during voice call
| * hal: Fix sidetone sequence during voice callvivek mehta2015-08-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When sidetone is enabled during voice call, the RX and TX path mixer controls are issued back to back, this causes the codec path to be enabled from TX to RX as the internal loopback for sidetone exists. Due to enabling this path, pop noise is observed on headphones. This issue is fixed by treating sidetone as special case and changing the enable and disable sequence of sidetone mixer controls. Based on CAF commit : I7aea55af963cf939286e5b349ff25fd783314679 BUG=23135950 Change-Id: Ib5759e08d9b5948a76545b032d882231410cfa2a
* | Revert "Revert "hal: add support for multi-mic input and multi-channel output""Prashant Malani2015-08-111-0/+18
| | | | | | | | This reverts commit 93be0a55c20477c0857f92d0a8a8808536c8d93f.
* | Revert "hal: add support for multi-mic input and multi-channel output"Bryce Lee2015-08-101-18/+0
| | | | | | | | | | | | This reverts commit dae4471837fcdbd9356e3745b66f23f921fb531b. Change-Id: I476a9c8e9ea5dfe1804c714c365c3c83474183a5
* | am dae44718: hal: add support for multi-mic input and multi-channel outputvivek mehta2015-08-061-0/+18
|\| | | | | | | | | * commit 'dae4471837fcdbd9356e3745b66f23f921fb531b': hal: add support for multi-mic input and multi-channel output
| * hal: add support for multi-mic input and multi-channel outputvivek mehta2015-08-061-0/+18
| | | | | | | | | | | | | | | | | | | | | | add support for - 3/4 mic input and 3/4 channel output - support both fluence enabled and disabled usecase - if fluence is not enabled o/p channel count is equal to number of input. if fluence is enabled o/p channel count is one for voice and VR usecase Change-Id: I3039d9ca4acf191cd728c7ff833548f8c09351d2
* | Hal: Support an external BT chip for HFPUday Kishore Pasupuleti2015-07-301-1/+5
| | | | | | | | | | | | | | | | | | When using an external BT chip, AUXPCM is used for audio in/out between bt chip and audio codec. In that case, AUXCPM Hostless should be used instead of INT_BT_HFP Hostless Change-Id: I73ad8d67031885a194da6d3a5b08ef462cb33374 Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
* | am 3b86d472: hal: add speaker-safe headphones/line combo devicesRavi Kumar Alamanda2015-07-091-0/+2
|\| | | | | | | | | * commit '3b86d472a707dd29cd692909fc80cf45a8fec481': hal: add speaker-safe headphones/line combo devices
| * hal: add speaker-safe headphones/line combo devicesRavi Kumar Alamanda2015-07-071-0/+2
| | | | | | | | | | | | | | | | | | Update audio HAL to handle speaker-safe-and-headphones and speaker-safe-and-line combo devices. Bug: 21537010. Change-Id: I49644e0b46c504f42a913839c7cbe115fd2a408e
* | Add voice call support for msm8x26 targetUday Kishore Pasupuleti2015-07-071-0/+14
|/ | | | | | | | | | Update platform file to enable voice calls These changes are already part of Qualcomm's initial HAL audio release but were stripped off Change-Id: I357969f0aca6e150bb95acb1b25d587615b0f375 Signed-off-by: Uday Kishore Pasupuleti <upasupul@codeaurora.org>
* hal: Provide support to enable/disable EC/NS in BTRavi Kumar Alamanda2015-07-021-1/+2
| | | | | | | | | | | | | | | Currently during a SCO connection ECNS module in ADSP is disabled by default. Some BT headsets have built-in support for echo cancellation and noise reduction and therefore do not require the same to be done again. Select BT_SCO devices with ECNS modules enabled when setParameters() is called with NREC=on. CAF commit: e240e5d3124bbdd82d1b5013c3e714deac2727e6 Bug: 22100304. Change-Id: Ifa302537221452e02fb80954d2c04b52448e0b9d
* hal: update logic to identify primary sound cardRavi Kumar Alamanda2015-06-301-0/+2
| | | | | | | | | Check if the sound card name contains the hw codec name to validate the primary sound card name before initializing the audio route library. Bug: 21731989 Change-Id: I2a14201e8774c07a922c87d3fc08f55a389a56e6
* hal: clean up redudant codeRavi Kumar Alamanda2015-06-301-16/+1
| | | | | | | | | | External speaker/handset specific backend tags, acdb ids and PCM device ids for Nexus 6 are now configured using audio_platform_info.xml file. Remove the hardcoding in the HAL. Bug: 22100304 Change-Id: I127a1a30333361fb794e9d5abee518c2dc3b4583
* hal: update combo device handlingRavi Kumar Alamanda2015-06-181-6/+0
| | | | | | | | | | | If the wired headset/headphone/line devices are handled by a different backend than speaker/earpiece devices, the combo devices such as speaker+headphones can be split into individual devices and enabled/disabled independently. Bug: 21581860. Change-Id: Icdd962a4dc1da536fe89c4de2202e7383275603d
* hal: support for for mi2s speaker adsp algo.zhaoyang yin2015-06-091-0/+1
| | | | Change-Id: I77945be6eb8f853e29e394a51eb28fc8fb759b4a
* Change Nexus 5 and Nexus 6 deep buffer to 2 periods of 1920 frames(40ms)Andy Hung2015-06-041-2/+5
| | | | | | | | | | | | | Prior setting of 8 periods of 960 frames had identical thread processing interval to the normal mixer thread. By increasing the thread processing interval, there is a measured power reduction of 10 percent on MSM8994. Note: as a consequence, operations such as pause or volume may have a slightly greater granularity (40 ms vs 20 ms). Bug: 21198655 Change-Id: Icd8ce12c987d2b89578c2d2ad9a2ded54c6ce4c0
* Revert "hal: update AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND for 8084 platform"Eric Laurent2015-06-021-9/+3
| | | | | | This reverts commit 1ff0fb1b171154203707b96d507d524a7485af8c. Bug: 21581860.
* hal: Add support for TTS output streamRavi Kumar Alamanda2015-05-211-0/+4
| | | | | | | | | Add new audio playback use case to support stream for Transmitted Through Speaker (TTS) data. Bug: 21334936 Change-Id: Ief4519f30516f39078fdcdfce90645194bd885ea
* hal: Add support for feedback speaker protectionRavi Kumar Alamanda2015-05-211-0/+6
| | | | | | | | | | | | | | Cherry-picked and squashed CAF commits: f538cefc0747e6bc2cff296ad295f6a37e17f7a5 e2761eb87903d958e19989875595a642cc7d7ada 924e13ddd76dcb9a7dd693b7af60db27cdb5a1df 28e9ed3b2fb68ecbfdae00ce387e7942ae37940b cc9bb1477583269215330cb7aeaebe4f808c03b3 e85d046e57863f55a61f6e445b371e8b55907bad cc96e41e5cd7a1a8a9662f5d844c6e3867bd7573 229659c499ddff858cbcc4336cb035335e38bd2c Change-Id: Id56ff10214eaed343299cc3dd8649d0621c27c45
* hal: update AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND for 8084 platformRavi Kumar Alamanda2015-05-211-3/+9
| | | | | | | | | On msm8084, wired headset/headphone/lineout devices are handled by slimbus backend and does not share the same backend with speaker and earpiece devices. Remove those devices from AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND. Change-Id: I7767335994a04a854a4ddad01fc7e97a7a6b0340
* msm8992/4: Add audio supportPatrick Tjin2015-03-201-0/+6
| | | | Change-Id: Ie748eefbfffc3a0f98288fb7580abd62dd0ce5a8
* fix ACDB ID for headset mic with AECEric Laurent2015-01-141-1/+1
| | | | | Bug: 18987396. Change-Id: I3df6949f2ad145c1fa8cb55b77656deb209d761d
* add line out to device sharing codec backendEric Laurent2015-01-071-1/+2
| | | | | | | | | | AUDIO_DEVICE_OUT_LINE was not listed in AUDIO_DEVICE_OUT_ALL_CODEC_BACKEND causing a loss of audio when music was playing over line out and a ringtone playing over lineout and speaker was stoppped. Bug: 18903885. Change-Id: I8c132db9cbfb17842a463600a2d0ced214244b72
* hal: update EC reference handlingEric Laurent2014-10-151-0/+3
| | | | Change-Id: I745e28c14902f810754887f9db195cf4f5261713
* hal: updates for DEVICE_OUT_LINEEric Laurent2014-10-011-0/+1
| | | | | | | | | - support dual-route - change ACDB ID to 77 for gain tuning independent of headset Bug 17722311 Change-Id: I5c574dc08e26fa053f60337acb17fb5b73ebbaa1
* hal: Support "safe speaker" on msm8974 platformEric Laurent2014-09-111-0/+2
| | | | | | | Used for limited-loudness use cases Bug: 17319721 Change-Id: I31c4b21e593b9d69bc0e1a81bb46f6201ffe0d7d
* Revert "hal: Support "safe speaker" on msm8974 platform"Eric Laurent2014-09-111-2/+0
| | | | | | This reverts commit 4933ff67b2a41e6cefce7cfa3f9aa07389af092e. Change-Id: Icd2a2414ccfa7c47072bc00583472792ebe34e33
* hal: Support "safe speaker" on msm8974 platformJon Eklund2014-09-101-0/+2
| | | | | | | Used for limited-loudness use cases Bug: 17319721 Change-Id: I408b32428b4af08c7a78682f51e0563167a1d3ef
* Revert "Revert "audio: add support for routing to/from voice TX/RX paths""Ravi Kumar Alamanda2014-08-291-0/+6
| | | | | | | | This reverts commit 55a1293b422d181281cf0f7d37c6c15c5d921ef3. Bug: 15520724. Change-Id: I46c2402bedd513c148b2c309c6f18a7ef3aa4d2a
* hal: Add support for dualmic fluence for voice communicationRavi Kumar Alamanda2014-08-281-14/+31
| | | | | | | | | | Add support for noise suppression preprocessing effect. Add support for dualmic fluence for voice communication. Reorganize input sound devices for more readability. Remove invalid and unused legacy sound devices. Bug: 14088317 Change-Id: Id9859de56780a8952d6e9acac84faa9b8ef1fdde
* hal: fix incorrect acdb ids of tmus specific devicesRavi Kumar Alamanda2014-08-221-2/+6
| | | | | | Bug: 17187894 Change-Id: I40db5fa395dda984e5536cd4ddbed3ed23c3ccb2
* Revert "audio: add support for routing to/from voice TX/RX paths"Vineeta Srivastava2014-08-111-5/+0
| | | | | | This reverts commit 8edfd66a7b1d033e65e5621d25ef3cbf1f40316e. Bug: 16949514
* audio: add support for routing to/from voice TX/RX pathsEric Laurent2014-08-061-0/+5
| | | | | | | | | Add support for routing voice calls to devices in other audio HALs by allowing playback and captuer to/from AFE proxy. Bug: 15520724. Change-Id: Ia4a4428001ea06f7c7b213db861ec281ebd25174
* hal: Add support for AUDIO_DEVICE_OUT_LINEEric Laurent2014-08-041-0/+2
| | | | Change-Id: I0d1163d7f7716f9a0366f2be245d50adad55b0cc
* hal: Add support for Hearing Aid Compatibility (HAC) modeEric Laurent2014-07-301-0/+1
| | | | Change-Id: Id4e7eb98336fd3dd3569a31b61a3ccf529d081a3
* Merge "hal: Fix no voice call audio issue on handset"Vineeta Srivastava2014-06-201-2/+2
|\
| * hal: Fix no voice call audio issue on handsetRavi Kumar Alamanda2014-06-201-2/+2
| | | | | | | | | | | | | | | | - Update the ACDB ids for voice handset sound device - Fix incorrect condition check to add the backend name to mixer path. Change-Id: Ie70ea20191c5563456cf5733f66847e6100e71ff
* | Revert "Revert "hal: Add support for IMS calls""Vineeta Srivastava2014-06-191-9/+17
|/ | | | This reverts commit a609e8ebdfeca875b6d35ccfb3fb8b87710f3499.
* Revert "hal: Add support for IMS calls"Eric Laurent2014-06-181-17/+9
| | | | | | This reverts commit cedf1ac3c00e331b5f51b077f26c1367544ddd65. Change-Id: I5f92f28c8b97265263a0bce5b38ff60d4655b68b
* hal: Add support for IMS callsHaynes Mathew George2014-06-171-9/+17
| | | | | | | Move all the voice call specific code to a new file. Add voice extension files to support IMS calls. Change-Id: I1b7235500c8e3c2285b726b351d996dc3e5ebdf6
* am 88acf968: Revert "Disable fast capture by default for 8974"Glenn Kasten2014-06-161-1/+1
|\ | | | | | | | | * commit '88acf968e90f37c4e218c997b4476986f229aaf0': Revert "Disable fast capture by default for 8974"
| * Revert "Disable fast capture by default for 8974"Glenn Kasten2014-06-161-1/+1
| | | | | | | | | | | | | | This reverts commit 98fd45339a56253ea5fe117f2c91daaf586adeae. Bug: 15591052 Change-Id: Ic07cd368bfb354f843d1dc3e4466beb877f3e452
* | am 98fd4533: Disable fast capture by default for 8974Glenn Kasten2014-06-121-1/+1
|\| | | | | | | | | * commit '98fd45339a56253ea5fe117f2c91daaf586adeae': Disable fast capture by default for 8974
| * Disable fast capture by default for 8974Glenn Kasten2014-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fast capture interacts poorly with AEC on 8974. Frame count is changed from 240 to 480 (10 ms), which means fast capture thread will not be started by default. Fast capture thread is only used if frame count is strictly < 10 ms. Fast capture feature can be re-enabled for specific app testing by setting property audio_hal.in_period_size=240 in /data/local.prop Bug: 15591052 Change-Id: I678bf233597c63dc414cab9f64b5ee494eb8701d
* | resolved conflicts for merge of 4f993391 to masterGlenn Kasten2014-06-121-0/+4
|\| | | | | | | Change-Id: I5a1fd2107a613f2dd2c5c59c4c3e3e279f85585b