Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: jellybean
Commits on Apr 3, 2013
  1. @mikeNG

    msm7x30: fix SEMC FM Radio audio routing

    mikeNG authored
    Patchset 1: Original patch by M66B, adapted to build only for SEMC
                Including some erroneous ifdef fixes
    
    Patchset 2: Fixed FM audio routing on speaker (M66B)
    Patchset 3: Add ifdef to avoid breaking non-semc devices
    
    Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
    
    Change-Id: I57ce67bd90a8ed46079a3c4a8b37ca4fbb4e6223
Commits on Mar 29, 2013
  1. @rmcc

    msm7x27a: Add support for call-mode-specific speaker endpoint

    rmcc authored
    If it exists, use it, else keep using the normal DEVICE_SPEAKER
    Change-Id: I62b44a27e6ba92c78fa28217ad58d065cb19ed57
Commits on Jan 30, 2013
  1. @Kali-

    audio: Support STE/Sony FM Radio

    Kali- authored
    Change-Id: I1ba0a65ae6f461dfbf8e3e9ffd90e4dd70ae5394
Commits on Dec 19, 2012
  1. Merge "msm7x27a: Add missing wired headphone route" into jellybean

    Daniel Hillenbrand authored Gerrit Code Review committed
  2. @M66B

    msm7x30: fix FM audio routing

    M66B authored
    Makes FM radio work with non Sony headsets without mic
    
    Change-Id: I557b99fe136db7956157ccac53e3574febdbfdf3
Commits on Dec 17, 2012
  1. @AdFad666

    msm7x27a: Add missing wired headphone route

    AdFad666 authored
    Change-Id: I2667701d27aa65a3d50cc98fb693af1bdfde3637
Commits on Nov 23, 2012
  1. @aeroevan

    Hardware/alsa_sound: Set the BT volume based on VGS

    Jay Wang authored aeroevan committed
    When VGS is set, we expect volume change to be performed on
    BT device. Otherwise, volume change is applied by DSP
    
    Change-Id: I76c3fde90b5e879278e94610e8af4abd07615cf0
    CRs-Fixed: 366872
  2. @aeroevan

    hardware/alsa_sound: Synchronize voice path setup

    Neema Shetty authored aeroevan committed
    Block the policy manager until the voice path is setup. This is
    done to prevent telephony from signaling call connect before the
    entire voice path is established.
    
    Change-Id: I25f6ca3199d9818f0e36a05bc0364a8c28e75650
    CRs-fixed: 402673
  3. @aeroevan

    alsa_sound: Fix for LPA Audio loss during BT on/off

    Vidyakumar Athota authored aeroevan committed
    -Issue:If LPA playback started on speaker and connect/disconnect
     BT multiple times results audio loss. This happens because of
     stopA2DPplayback called with NULL usecase
    -Fixed by assign right usecase to mUseCase if it is not already assigned
    
    Change-Id: I95c28ed159684f7b653d14284514d4969666bd75
  4. @aeroevan

    alsa_sound: Fix for music freeze on FWD from BT

    Vicky Sehrawat authored aeroevan committed
    - While audio playback on a2dp, press NEXT on
      A2DP headset. This results in UI freeze for
      5sec
    - Fixed the issue by alternating sequence of
      closing PCM and Proxy drivers.
    
    Change-Id: I7bebd420c166ce76afe873732f260741c55dff99
    CRs-fixed: 405332
  5. @aeroevan

    alsa_sound: Do not stop A2DP playback if routing to input devices

    Mingming Yin authored aeroevan committed
    -Issues: No audio playback on A2DP headset during VOIP(Skype) call
    -Causes: Skype uses built-in Mic/A2DP as I/O devices, A2DP playback
     is closed while switching device to built-in Mic.
    -Fixes: in doRouting(), do not stop A2DP playback if routing to
     input devices.
    
    Change-Id: Iefada0764c04622a082ab50adff24cc160a97dd8
    CRs-fixed: 407888
Commits on Nov 21, 2012
  1. @Kali-

    Merge "audio/msm7x30: Add missing volume offset value" into jellybean

    Kali- authored Gerrit Code Review committed
  2. @Kali-

    Merge "audio/msm7x30: Add channel mask for voice call recording" into…

    Kali- authored Gerrit Code Review committed
    … jellybean
Commits on Nov 20, 2012
  1. @Kali-

    audio/msm7627a: Fix for Mute not working in VoIP call

    Phani Kumar Allada authored Kali- committed
    - In VoIp call mute option is not working
    - Due to wrong device selection, PCM recording path is selected, instead
     of MVS Tx path, for VoIP tx.
    - Enable MVS Tx path for VoIP uplink.
    
    CRs-Fixed: 390742
    (cherry picked from commit 833bca91f6f3e7bfdbb7ff9f8773fe49ef531614)
    
    Change-Id: I282f5c27b4461c623cb0736926d4e317ee038a33
  2. @Kali-

    audio/msm7627a: Fix for voip call failure on speaker.

    Sidipotu Ashok authored Kali- committed
    -Voip call on speaker fails.
    -Speaker device is not made available in audio_policy.conf file
     this is a side effect to earlier fix.
    -Make both the speaker and earpiece available in policy conf file.
    
    (cherry picked from commit 21d8c479999368d4366ab535c60a13a6118ceb89)
    
    Change-Id: Ic839f3ef54e359bc382da54715b02980fde1aa08
  3. @Kali-

    audio/msm7627a: Fix for voice call audio routing to earpiece

    Shashi Kumar authored Kali- committed
    - Voice call audio is being heard on speaker even when
    earpiece is connected to the device.
    - Earpiece is default attached device to target. Entry for
    earpiece as global attached output device is missing.
    - Add earpiece as global attached output device in
    audio policy config file.
    
    Change-Id: I80903bd37efd79e7836a9ebd46b039b8d8f151d1
    CRs-Fixed: 379340
  4. @Kali-

    audio/msm7627a: Fix for audio routing to headset and earpiece

    Shashi Kumar authored Kali- committed
    - Audio is being heard on target speaker even when
    headset/headphone is connected to the device
    - TTY mode variable is not initialized to off by
    default in constructor. With the garbage value while
    in call trying to set TTY devices.
    - Set TTY mode variable to off by default in constructor
    
    Change-Id: If0bbf97ff674643c89c7cc163a5b5c0b157ec9e6
    CRs-Fixed: 379340
Commits on Nov 14, 2012
  1. @Kali-

    audio/msm8660: Add channel mask for voice call recording

    Deepa Madiregama authored Kali- committed
    - Voice call record is failed to record.
    - In channel mask uplink and downlink entry is missing
    - Add uplink/downlink in channel mask and voice call
      in global configuration.
    
    CRs-Fixed: 382736
    (cherry picked from commit 505ac6f14f1b70fb0f52bbf53c0ca844ae66d271)
    
    Change-Id: Id3a1d5346b07addb0d44add3cd030c75e5c9e3d0
Commits on Nov 12, 2012
  1. @mkasick

    alsa_sound: Re-add HTC_AUDIO, SAMSUNG_AUDIO, and USE_A2220

    mkasick authored
    Left out in Ib6bdafc600b66489868b0b18846446bb08cc8426's refactoring.
    Fixes d2 speakerphone caller echo.
Commits on Nov 10, 2012
  1. @bbelos

    alsa_sound: Re-add DOCK_USBAUDIO.

    bbelos authored
    Change-Id: I7d8054c8e08a4607425dce61e461e11474f224a3
  2. @Kali-

    Merge "audio/msm8660: Fix for Mute not working in VoIP call" into jel…

    Kali- authored Gerrit Code Review committed
    …lybean
  3. @arco

    audio/msm7x30: Add channel mask for voice call recording

    Deepa Madiregama authored arco committed
    - Voice call record is failed to record.
    - In channel mask uplink and downlink entry is missing
    - Add uplink/downlink in channel mask and voice call
      in global configuration.
    
    Change-Id: Id56f167c342eea4e3c7704b9578409afce23598b
  4. @arco

    audio/msm7x30: Add missing volume offset value

    arco authored
    Change-Id: Ic99c1531a8b7087ebb110201d3fbae9f969faffc
Commits on Nov 8, 2012
  1. @Kali-

    audio/msm8660: Fix for Mute not working in VoIP call

    Deepa Madiregama authored Kali- committed
    - In VoIp call mute option is not working
    - Due to wrong device selection, PCM recording path is selected, instead
      of MVS Tx path, for VoIP tx.
    - Enable MVS Tx path for VoIP uplink.
    
    CRs-Fixed: 406977
    (cherry picked from commit 9941ecfadc64514f4de8f4962b238d623aac52ce)
    
    Change-Id: I5e2525938107a0c6a7115038d85419c4b886d5fe
    (cherry picked from commit b4f3bad309e6fd0a9b39c10a64ef3bcb1141b373)
Commits on Nov 6, 2012
  1. @cyanogen

    alsa_sound: A2DP playback changes on jellybean

    Krishnankutty Kolathappilly authored cyanogen committed
    -Re-design for A2DP playback for changes. Data is read from
     proxy port and written to A2DP HAL. A2DP output is opened
     and configured from 8960 AHAL.
    
    Change-Id: Icb373f882a99ff2a091e32a902811226ada77140
    (cherry picked from commit 7c733664750e8c0ba45e8282f5195d536db00520)
    
    alsa_sound: Fix for no audio on A2DP after pause and resume
    
    - No audio is heard on A2DP headset after resuming audio playback
      after pause for more than 5sec.
    - On long pause, the output stream is set to standby and the A2DP
      playback thread is suspended. But while resuming the playback,
      A2DP thread is not restarted which results no audio on A2DP.
    - Fixed the issue by starting A2DP playback on first write to
      audio HAL on resume.
    
    (cherry picked from commit d3ae028c373135615cfeeef0d670fe27693f9d99)
    
    Change-Id: I2c1ddf751630b459d59d9e2e7d3bcca94c7d4330
    
    alsa_sound: Fix for audio not routed through WiFi display
    
    - DEVICE_OUT_PROXY is overwritten by A2DP device
    - Switch to A2DP device only when DEVICE_OUT_PROXY is not set
    
    (cherry picked from commit 2361761fb4ee2417cf84e73125f875936d6a285f)
    
    Change-Id: Iea5e9934a4939bd71575faca4fd9c3627b48f7fc
    
    alsa_sound: Fix for audio loss during BT power ON/OFF
    
     -Currently when BT headset is powered off audio HAL does not
      stop A2DP playback thread as we are calling suspendA2DPplayback
      in standby function which is causing audio loss when BT is
      conencted back. This is because dorouting is not called when
      BT is reconnected and is not teared down path previously
     -Fixed by calling stopA2DPplaybcak in standby function which
      will stop A2DP playback and called dorouting again when BT is
      connected again.
    
    CRs-fixed: 391103
    (cherry picked from commit 015e6f3bafafb516c4b1c8684d194d279cc47ab9)
    (cherry picked from commit f5ca1b342591e21ff8a879ce14d593d6f250b14d)
    
    Change-Id: I8493229e79ea0633ec11599bcd78792015e599ab
    
    audio/alsa_sound: Fix for audio routing to speaker after BT voice call drop
    
    Steps to reproduce :
    1. Connect and pair BT.
    2. Make a MO Voice call.
    3. Play Music. (Both voice call and music is routed to BT SCO)
    4. Disconnect the Voice call.
    5. Music resumes in speaker
    
    Root cause of the problem :
    When phoneState get changed, A2DP suspend flag should be updated first. Speaker was selected
    
    How to fix the CR :
    check for device and output changes with proper order
    
    Change-Id: I5043b6807fa48145ded7a268223074a8cf693f69
    CRs-Fixed: 392743
    (cherry picked from commit 45c2afae5e720fa6c676812db1a7c26cb6899b35)
    
    alsa_sound:Fix for LPA clips audio loss during BT power ON/OFF
    
    -mRouteAudioToA2dp should not set to true in standby function
     which will close all A2DP streams.
    -This is taken care  in stopA2dpplayback function so removed in standby.
    
    Change-Id: I61f1b901261cab7ebad9d17491fb8158835aeba1
    CRs-Fixed: 391103
    (cherry picked from commit 709dd53cae31c31c501accb47026ed9fd00d5c68)
    
    alsa_sound:Fix for voice+Music playback over BT
    
    - Issue: Start Music playback,initiate MO/MT call,disconnect call
      and music should resume but Music plaback resumes and stops after
      1 or 2 secs.
    - Rootcause is because of standby function called after 3 secs of voice call
      end which in turn calls stopA2dpPlayback function
    - Fix: Deal with lowlatency use cases over BT seperately.
    
    Change-Id: I79d65f72dffbdb32c1859fba6b3607c8afe5eb52
    CRs-Fixed: 398060
    (cherry picked from commit 76841ce85e73f3e333adf321d615cf4eec383e7f)
    (cherry picked from commit fc8e6b8efddd690656fcb3c15c43196c7176067a)
    
    alsa_sound: Fix for no audio in BT after standby is called.
    
    When BT is connected, and there is no audio for three seconds,
    standby is called. But pcm device close was bypassed in the case,
    when BT device was connected. Due to this mRouteAudioToA2dp was not
    getting set to true in subsequent playback and hence a2DpPlayback
    was never getting started.
    
    Make a fix to close pcm device even when BT device is connected
    
    Change-Id: Ice455455063179c82640b9fef9fdab7c002b615c
    CRs-Fixed: 409889
    (cherry picked from commit 41d8544b953cc5f0f3d8ac0316df60ff631811fc)
    
    alsa_sound: Fix for no audio in music+ringtone concurrency on A2DP
    
    - While playing audio on A2DP, if we go to settings and select a
      ringtone, the audio is lost. Expected behavior is that the ringtone
      should be heard on both A2DP and Speaker and music playback muted.
    - While A2DP playback thread is reading data from proxy, if the
      device switch is done from A2DP to A2DP+Speaker, the proxy device
      is disabled and re-enabled which results bad state the A2DP playback
      thread.
    - Fixed by stopping A2dp playback and resuming after the routing is
      complete.
    
    Change-Id: I413540404d173a6c0d15c7704ee6e2efeab0887e
    CRs-Fixed: 392353
    
    alsa_sound: Shush the logging
    
    Change-Id: Ib6bdafc600b66489868b0b18846446bb08cc8426
  2. audio/msm8660: Add support for audio effects for LPA clips

    Yamit Mehta authored Gerrit Code Review committed
    Change-Id: I04587005e2ec3b89ce933a607d1603c4766687d0
  3. audio/msm8660: Fix the issue of voice call when HDMI connected

    Deepa Madiregama authored Gerrit Code Review committed
    - Voice call is not working when HDMI cable is connected.
    - When HDMI is connected getDeviceForStrategy is picking
      up HDMI rx as active device, because of this voice call
      is not working.
    - Avoid updating the HDMI as active output device, when
      strategy is STRATGY_PHONE.
    
    CRs-Fixed: 384324
    (cherry picked from commit 815e0bfe786a4c7fca0bb4880b56519471dde386)
    
    Change-Id: I76cf12ca0449569a83f5188e8b30db08ff86f584
  4. audio/msm8660: LPA Audio HAL fixes for suspend and eos issue

    Y Mehta authored Gerrit Code Review committed
    -LPA playback reset is not called at end of clip as eos
    from HAL doesn't gets generated if last write buffer
    size is zero.
    Fix this by posting eos to observer if bytes to write is zero.
    
    -After suspend resume, playback of paused lpa clip is not
    resumed if tried to play the clip.
    Added isDriverStarted variable to maintain states of driver.
    
    -Driver flush is not triggered sometimes during paused state
     and at the end of clips while LPA Player is waiting on fsync.
     This results in fsync to be blocked indefinitely and ANR is
     observed.
     Fix this problem by calling driver flush explicitly and pause
     the session if stream is in paused state
    
    -If last buffer is written immediately after flush the last
     buffer is skipped and eos is triggered. The song doesn't
     switch to next clip because of this problem
     Fix this problem by triggering eos if last buffer is written
     immediately after flush
    
    Change-Id: Id57cf830a411c199e1923f38740bbe0862eab7df
  5. audio/msm8660: Fix to avoid routing in voice call

    Yamit Mehta authored Gerrit Code Review committed
    -If a device selected for media playback is other than the
    current active device selected to route voice call, routing
    is switched to that device.
    -Avoid routing in such cases if device to route is different from
    current device for voice call.
    
    Change-Id: I6d4e7a667b1949a5bc45e19c2f7b3a4555b6bbfe
    CRs-Fixed: 397595
  6. audio/msm8660: Fix audio routing issue during cam corder

    Deepa Madiregama authored Gerrit Code Review committed
    - After cam corder recording, voice call is not routing to
      wired headset even if it is connected.
    - When cam corder recording starts device switch to handset,
      and when it stops also remaining on same device, because
      active device is not updated based on policy after cam corder
      stops recording.
    - Update the active device based on policy after cam corder
      recording and switch to higher priority device if available.
    
    CRs-Fixed: 398301
    (cherry picked from commit ad59eae61b2c3a5d98416d7164923651b52bdb7e)
    
    Change-Id: I88f9abd07b6f5de04b7ee32b5610946730c55ab9
  7. @bbelos

    alsa_sound: Enhance support for dock audio.

    bbelos authored Gerrit Code Review committed
    - Adds SND_USE_CASE_DEV_DOCK to properly route audio based on
    device's alsa use case definitions.
        - Ringtones always play on the device speaker, in case
        you have it docked, but your stereo turned off.
        - All other sounds get routed based on whether the dock
        is the configured output device based on DeviceSettings.
    
    - Uses the new BOARD_HAVE_DOCK_USBAUDIO option to set
    DOCK_USBAUDIO for rerouting to new dock use case.
    
    Change-Id: Ib78907e376c852f4d2e30133c6eb34964a15d406
  8. @agrabren

    Legacy QCOM audio does not support ext functions

    agrabren authored Gerrit Code Review committed
    Change-Id: Ia8d8062aa011044d93683b884f59432b03822c6a
    
    Author:    Kevin Bruckert <agrabren@yahoo.com>
    
    	modified:   msm8660/AudioHardware.cpp
  9. @mkasick

    Samsung msm8960: Add support for "Voice Earpiece Extra Gain" mode

    mkasick authored Gerrit Code Review committed
    Uses "Voice Earpiece Extra Gain" mode instead of "Voice Earpiece" during
    voice calls when persist.audio.voc_ep.xgain=1.
    
    Change-Id: I5d2e09ad59b77198a1c6f9fe2473bf9b05575a33
  10. @agrabren

    Legacy QCOM audio does not support ext functions

    agrabren authored Gerrit Code Review committed
    Change-Id: Ia8d8062aa011044d93683b884f59432b03822c6a
    
    Author:    Kevin Bruckert <agrabren@yahoo.com>
    
    	modified:   msm8660/AudioHardware.cpp
Commits on Oct 25, 2012
  1. @cyanogen

    alsa_sound: Add miscellaneous fixes to AudioSessionOut.

    Tejas Shikhare authored cyanogen committed
    - Remove reset from stop function. reset should be only called
      in the destructor as it closes all the threads and deallocates
      all the memory
    - While iterating through the Device list, break out of the loop
      once the use case corresponding to the device is removed.
    
    CRs-Fixed: 396029
    Change-Id: Ifa449fc5aba93b3e88c52f55219110027e4a8684
    (cherry picked from commit 991d9cae7c96338691ec2bbf2aad7ddc6328a6da)
Something went wrong with that request. Please try again.