Commit Graph

776 Commits

Author SHA1 Message Date
Linux Build Service Account 723c4b7416 Merge "hal: Fix teardown during back to back pause/play of WFD session" 2014-05-16 00:35:14 -07:00
Linux Build Service Account 33bf8f1035 Merge "hal: msm8916: seperate device support for qrd skuh/skui" 2014-05-15 19:54:07 -07:00
Linux Build Service Account d72dde4c99 Merge "hal: fix for voice + voip call concurrency" 2014-05-14 14:44:31 -07:00
Linux Build Service Account 78313cfe22 Merge "hal: add support for dolby license validation" 2014-05-13 20:28:21 -07:00
Satya Krishna Pindiproli 7e52228452 hal: Fix teardown during back to back pause/play of WFD session
- When an active WFD session is paused/played continuously from
  the WFDClient app, the session tears down after a few iterations
  if touch tones are enabled.
- The output device is switched back and forth between speaker and
  proxy when the session is paused and played continuously.
  When this happens, sometimes, there is no backend to write the
  low latency output which results in pcm_write getting blocked.
- Fix the issue by not routing the low latency output to speaker
  if the previous device is proxy.

CRs-Fixed: 630234
Change-Id: I6bbe82badd3d5ee857e920430304c3a45c5b44c7
2014-05-13 16:45:29 +05:30
Linux Build Service Account d4fbf85620 Merge "post_proc: disable Bassboost and Virtualizer for USB_ACCESSORY" 2014-05-12 23:44:32 -07:00
Linux Build Service Account 6fade6d2c5 Merge "hal: SSR support for pcm playback,pcm record usecases" 2014-05-12 23:44:29 -07:00
Naresh Tanniru 4c63039cfa hal: SSR support for pcm playback,pcm record usecases
- Added SSR event handling support in HAL

- Added support to drop incoming pcm data for pcm playback
  usecase during SSR

- Added support to send dummy input(mute/zero buffer) for
  record usecase during SSR

Change-Id: I158b62fa443bb523091128fe1308c9a9b1415502
2014-05-13 00:25:49 +05:30
Dhananjay Kumar 89ea3bd9e5 hal: add support for dolby license validation
Add dolby audio_extn API's to set dolby license.
License needs to be set with dsp everytime it is loaded.

Change-Id: I21d58a21d65c823469d066f4ba5edc5b2660ea1e
2014-05-09 14:46:53 +05:30
Walter Yang 7ca90d914e hal: msm8916: seperate device support for qrd skuh/skui
Different customers will have different settings.

Change-Id: Id5515c80cf302fc1d38526975aba2cae4c442479
2014-05-08 19:42:02 -07:00
Linux Build Service Account e1be46f950 Merge "hal: improve logging." 2014-05-08 17:37:02 -07:00
Linux Build Service Account ffb548ed73 Merge "hal: Set echo reference from mixer file" 2014-05-08 17:36:44 -07:00
Linux Build Service Account 09e624082a Merge "hal: Fix VoIP Mute failure in SIP call during Voice call HOLD" 2014-05-08 12:24:01 -07:00
Linux Build Service Account 8e034a3b89 Merge "mm-audio: omx: add 64 bit support" 2014-05-08 12:23:28 -07:00
Anish Kumar 02f899dc2c hal: Set echo reference from mixer file
Fix the set_echo_reference call.

Change-Id: I10609baeb0b3efce8c033be940733482fa565c71
2014-05-08 11:03:05 -07:00
Sidipotu Ashok f43018c6f8 hal: improve logging.
-log to print open/close/standby of out/in streams
-log to print the the device switches

Change-Id: I1b3bf3d6ba19faa4df804f781fc15c0f96a5b80f
2014-05-08 17:02:47 +05:30
Linux Build Service Account 136d80a97d Merge "mm-audio: Remove omx decoder components from mm-audio folder" 2014-05-06 16:25:12 -07:00
Vidyakumar Athota cdce407b03 hal: fix for voice + voip call concurrency
-When voice call interrups ongoing voip call, voip call goes
 to hold state and voice call becomes active. During voice call end
 stop_call is not being called because mode is not set to MODE_NORMAL.
 Voip call becomes active and mode is set to MODE_IN_COMMUNICATION
 after voice call end.
-Fix this issue by removing the dependency on MODE_NORMAL to end
 voice call.

Change-Id: I0103f5c6833fb929cb7975f838bc2c5ec4d94313
CRs-Fixed: 633437
2014-05-06 10:13:44 -07:00
Linux Build Service Account 4a5211fcab Merge "hal: msm8916: seperate device support from other flavors" 2014-05-06 07:25:35 -07:00
Linux Build Service Account d78b207293 Merge "Audio: Enhance logging in AudioPolicyManager" 2014-05-06 07:25:31 -07:00
Linux Build Service Account 95c864c780 Merge "post_proc: improve logging" 2014-05-06 07:25:30 -07:00
Linux Build Service Account 63114437bd Merge "hal: configure HDMI channels based on sink capability." 2014-05-06 07:25:27 -07:00
Linux Build Service Account f20f100ddc Merge "policy_hal: Null check for output profile types" 2014-05-06 05:06:46 -07:00
Dhananjay Kumar fd00bef969 post_proc: disable Bassboost and Virtualizer for USB_ACCESSORY
USB_ACCESSORY is not intended to be applied with SA+ bassboost
and virtualizer, so add into invalid devices list.

CRs-Fixed: 659191
Change-Id: If1f3421f9935ce624dc21895d9244d36d195b2bd
2014-05-06 16:49:09 +05:30
kunleiz c5a639b0ba hal: Fix VoIP Mute failure in SIP call during Voice call HOLD
- Unable to apply the mute in MT SIP call during Voice call
  in CALL_HOLD.
- Mute is only applied if the voice call state is INACTIVE.
  Thus when SIP call is made during Voice call in CALL_HOLD,
  the mute is not being reflected.
- Fix this issue by checking voice stream type to allow
  the mute to be applied.

Change-Id: I3af5225edd8e9a4123867b647de9405d5c4b9efc
CRs-Fixed: 642893
2014-05-05 19:31:24 -07:00
Linux Build Service Account 24f1c8dbd3 Merge "Audiod: Priority change for AudioDaemon" 2014-05-05 04:57:22 -07:00
Linux Build Service Account 619fd2bf17 Merge "hal: Set echo reference from mixer file" 2014-05-04 10:53:03 -07:00
Karthik Reddy Katta be61caaa0a mm-audio: omx: add 64 bit support
-Changes to support omx encoders on 64 bit platform

Change-Id: I05749f619efaf66e107b1438635a38f92a11b523
2014-05-04 09:21:39 +05:30
Anish Kumar 4980fa1f8f hal: Set echo reference from mixer file
Set echo reference from mixer file.
Change-Id: I8b9d1209002ead0f82eb6052d41ab00ba41ce6a2
2014-05-02 14:54:48 -07:00
Linux Build Service Account db7a77055a Merge "audio: Remove unused var and unnecessary code" 2014-05-02 13:54:36 -07:00
Linux Build Service Account 8471e80526 Merge "hal: Correct PCM offload fragment size" 2014-05-02 11:05:35 -07:00
Mingming Yin 9c04139034 hal: configure HDMI channels based on sink capability.
- configure output HDMI channel count based on sink
  capability when audio.use.hdmi.sink.cap is set to true

CRs-Fixed: 656308
Change-Id: I3dd3226054c68a69a2c29f8bb2f9c27e429ad2dc
2014-05-02 10:42:50 -07:00
Asish Bhattacharya 4ff24803c2 hal: msm8916: seperate device support from other flavors
Mtp uses different device settings.

Ensure using correct device for mic.

Change-Id: I187d94522781c7a1dd302d3405a5fb8ebd0c0ef9
CRs-Fixed: 643801
2014-05-02 17:41:41 +05:30
Naresh Tanniru 1aa072f6c4 Audiod: Priority change for AudioDaemon
- Device getting crash after preforming
  ADSP/LPASS SSR during compress playback

- Due to continous compress write calls
  to compress driver audio daemon not getting
  schduled which results system crash

- Change AudioDaemon priority from PRIORITY_AUDIO
  to PRIORITY_URGENT_AUDIO to make sure audio daemon
  scheduled prior to audio HAL

Change-Id: I0d7dff30908d4e1f727c1eb6af9e66ed74095148
2014-05-02 15:52:46 +05:30
Dhananjay Kumar 574f392723 post_proc: improve logging
Make logs more meaningful and remove
ones not necessary.

Change-Id: I9562cf34a5dee406b1c0347a9004db08de9cd5df
2014-05-01 21:31:48 +05:30
Chaithanya Krishna Bacharaju 7038d625b2 Audio: Enhance logging in AudioPolicyManager
Enable msg logging
-To print playback clip attributes
-Offload supported or denied

Change-Id: Ifafb8c01ecca41aa2e09a134123d56a695494db4
2014-05-01 17:34:11 +05:30
Linux Build Service Account cfe3454358 Merge "Revert "audio: primary desc check for sonification"" 2014-04-30 17:30:02 -07:00
Manish Dewangan b572883566 mm-audio: Remove omx decoder components from mm-audio folder
Remove omx decoder component from hal/mm-audio as
decoder component are used from proprietary/mm-audio folder

Change-Id: Ia9d4842f6939108a652d64912e1dec45a987b1e9
2014-04-30 10:30:02 +05:30
Linux Build Service Account 0c90144956 Merge "audio: use of audio_route_{apply/reset}_and_update_path APIs" 2014-04-29 20:10:15 -07:00
Linux Build Service Account 9a89091999 Merge "audio: Remove unused source code" 2014-04-29 20:10:14 -07:00
Mingming Yin e3a5980586 Revert "audio: primary desc check for sonification"
This reverts commit 785b693a0f

Change-Id: I70cb4e74eb47b6fd936f9ddd8afb602441a9ad7e
CRs-Fixed: 656945
2014-04-29 18:36:56 -07:00
Haynes Mathew George 1376ca60d8 audio: Remove unused var and unnecessary code
Remove update_mixer (as its unused) and change function signatures
wherever used.
Remove code chunk to set BT sample rate before enabling device as
thats part of the mixer path file now.

Change-Id: I5eb3bce5183acf505596be2b0ec93cdbd728bdaa
CRs-Fixed: 581453
2014-04-29 14:54:21 -07:00
Haynes Mathew George ef1e3d331e audio: use of audio_route_{apply/reset}_and_update_path APIs
1) Update enable/disable device and route to use the new APIs.
   With this change, mixer controls will be updated in the order
   listed in mixer paths XML file.
2) update_mixer is now an unused var.

Change-Id: Ic0a8874e4a2080347cfa0c2e66af606a08a207a7
CRs-Fixed: 581453
2014-04-29 14:54:13 -07:00
Linux Build Service Account d3bc0d753f Merge "hal: Ensure all the mutexes are initialized" 2014-04-28 22:26:19 -07:00
Linux Build Service Account bcfbd1add0 Merge "hal: fm: Fix incorrect routing of fm audio to speaker" 2014-04-28 22:26:18 -07:00
Linux Build Service Account 31443fcfda Merge "policy: Add support for multiple instances of offload playback" 2014-04-28 19:33:55 -07:00
Linux Build Service Account a518e5166d Merge "hal: Add support for multiple instances of offload playback" 2014-04-28 19:33:52 -07:00
Linux Build Service Account 2bd2c9e6e2 Merge "hal: fix listen and audio calibration concurency" 2014-04-28 15:04:59 -07:00
Subhash Chandra Bose Naripeddy 5eb02f74f9 policy: Add support for multiple instances of offload playback
Add support for multiple offload playback instances

Change-Id: Icab3c7d6e89121a7aa23744729a634d8e402fabf
2014-04-28 10:44:08 -07:00
Subhash Chandra Bose Naripeddy 16ff4f86f2 hal: Add support for multiple instances of offload playback
Add support for multiple offload playback instances

Change-Id: I9d35b68fc8ca27c4eeb3976eb508b06c5ad3ca8f
2014-04-28 10:43:03 -07:00