Permalink
Switch branches/tags
Commits on Sep 25, 2012
  1. audio: separate device for voice call

    ty.lee Iliyan Malchev
    ty.lee authored and Iliyan Malchev committed Sep 12, 2012
    1. avoid to change gain as below scenarioes
    - after call end, immediately music start with headset
    - when device is changed from headset to speaker in voice call
      with touch effect sound, temporarily voice call gain is increased
      until changed to speaker
    
    2. this commit set different configuration of voice and audio.
    
    Change-Id: I89f1c1736d1ba56cb90a5e94f673b3f0439ab089
    Signed-off-by: Iliyan Malchev <malchev@google.com>
  2. audio: ucm: Route voice call only after enabling device

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 20, 2012
    - Voice call is sometimes enabled without enabling both Rx and
    Tx device. This is resulting in improper configuration of
    voice call
    - Fix this problem by checking if both Rx and Tx devices are
    enabled before routing voice call
    
    Change-Id: Ie0850eb7d0beafe7db150138b3aff1b2696db591
  3. alsa_sound: Correct the input buffer size computation

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 21, 2012
    - getInputBufferSize() expects the input channelCount to
      compute the buffer size but not the channelMask.
    - Removed the condition check to allow opening multple
      input streams.
    
    Change-Id: I927f2ed0423353a164d907035adfd883c5dae556
    Bug-id: 7184317
Commits on Sep 21, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 21, 2012
Commits on Sep 20, 2012
  1. audio: Remove acdb, csd-client dependency

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 20, 2012
    - Remove acdb and csd-client modules header files
      dependency from HAL and UCM
    - cleanup makefiles to not include acdb and csd
      modules headers
    
    Change-Id: I18712fcd50803f2d819ccfbaa0324d22d21b6293
    Bug-id: 6815609
Commits on Sep 19, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 19, 2012
  2. audio: enable necessary audio logs for debugging purpose

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 19, 2012
    - Remove LOCAL_LOGD flag and enable audio necessary logs
    
    Change-Id: Ia767ff8deaae4aa27252450eb94c64506cb8a495
Commits on Sep 18, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 18, 2012
  2. audio: remove redundant configuration files from audio HAL

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 18, 2012
    - Remove UCM files from audio HAL
    - Related files are stored in OEM folder under device
    
    Change-Id: I0f86e57e33a16fc543b2cc81145426b6724be6f2
    Signed-off-by: Iliyan Malchev <malchev@google.com>
  3. alsa_sound: Decrease the lowlatency playback buffersize to 1024 bytes

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 17, 2012
    - Decrease the lowlatency playback buffersize to 1024 bytes
      and latency to 11ms.
    
    Change-Id: I39e0580846fcf53cb4d2a708b53c39abc6e62469
  4. Remove audio_policy.conf here

    Glenn Kasten Iliyan Malchev
    Glenn Kasten authored and Iliyan Malchev committed Sep 14, 2012
    Use device/... version instead
    
    Bug: 7172210
    Change-Id: I8835e6b924758565c139f58e84a6585247c15730
Commits on Sep 16, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 16, 2012
Commits on Sep 15, 2012
  1. audio: Remove HAL, UCM dependency on acdb and csd client modules

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 14, 2012
    b/6815609
    
    - acdb and csd client modules are linked into HAL, UCM
      at compile time.
    - Remove the compile time dependency by loading the modules at
      runtime.
    
    Change-Id: Iab9684a4564e5dccd8eb6e07017959886d2f57b1
    Signed-off-by: Iliyan Malchev <malchev@google.com>
Commits on Sep 14, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 14, 2012
  2. audio: fix problem of routing device 0 after A2DP play

    ty.lee Iliyan Malchev
    ty.lee authored and Iliyan Malchev committed Sep 3, 2012
    This patch avoids abnormal operation in AudioStreamOutALSA::write().
    When BT device is turned On/Off, if routing device is 0, then pcm open
    will be failed.
    
    - A variable "mDevices" is set to "0" when device is switched to BT A2DP
    from speaker during playing music.
    - If variable "mDevices" is "0", when PCM data is writing to buffer
    in A2DP stream, then a routing device is set "no device".
    - And when device is switched to ALSA stream, and PCM open will be failed.
    
    This causes media crash as killing ALSA.
    
    Change-Id: Id416bed3f59bfbe857b2a9fd504f3f18746fb4cd
  3. alsa_sound: Remove pcm stream close for flushing buffers

    SathishKumar Mani Android (Google) Code Review
    SathishKumar Mani authored and Android (Google) Code Review committed Aug 29, 2012
    - Currently pcm stream is closed to flush buffers while switching
      between speaker+headset combo device and headset device.
    - Fix this problem by removing unnecessary pcm stream close.
    
    Bug-id: 7051374
    Change-Id: Id2faaeadd2a8e009f67e85beee42bbfe47b959f4
Commits on Sep 13, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 13, 2012
  2. alsa_sound: increase deep-buffer playback buffer size and latency

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 11, 2012
    b/7129131
    - Increase buffersize to 4k and latency to 170ms when HAL is
      configured for deep buffer output
    
    Change-Id: Ib4d83eda81714f3aff169f84f29e582aec50e9c7
    Signed-off-by: Iliyan Malchev <malchev@google.com>
  3. alsa_sound: add support for low latency playback and recording

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Aug 14, 2012
    b/6865729
    
    - Add deep buffer output in config file
    - Configure deep buffer output if flag
      AUDIO_OUTPUT_FLAG_DEEP_BUFFER is set,
      otherwise configure low latency output.
    - Add support for low latency recording
    - Enable low latency recording path with
      system property
    - For 2 buffers and 2048 bytes, reduce
      PLAYBACK_LOW_LATENCY to 21.5 ms
    
    Change-Id: I3c0d54fa473fe89df5a3924de483f16975f4000e
    Signed-off-by: Iliyan Malchev <malchev@google.com>
Commits on Sep 12, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 12, 2012
  2. audio: avoid latent media server crash during device is booting

    ty.lee Iliyan Malchev
    ty.lee authored and Iliyan Malchev committed Sep 3, 2012
    Sometimes media server is killed by alsa_ucm during device is booting.
    A alsa_ucm gets a index of "use case device" from get_use_case_index()
    function.
    But, get_use_case_index() function can be returned a wrong value
    (dev_index = -22 used index of dev_list[] array) at booting time.
    This patch avoids latent media server crash causing abnormal value
    as using index of dev_list[] array.
    
    Change-Id: I961465f99b994d3ab1b26ee74d6d0978159960f4
Commits on Sep 11, 2012
  1. audio: fix for log spamming from ALSA

    SathishKumar Mani Iliyan Malchev
    SathishKumar Mani authored and Iliyan Malchev committed Sep 11, 2012
    b/6984795
    
    - Use ALOGD instead of ALOGE for debugging logs
    - Use ALOGE only for error messages
    
    Change-Id: Ifad36acbe93d48f2bdce3e29c2b06654daf08821
    Signed-off-by: Iliyan Malchev <malchev@google.com>
  2. Reduce debug logs for some normal usecases

    Ajay Dudani Iliyan Malchev
    Ajay Dudani authored and Iliyan Malchev committed Sep 11, 2012
    b/6984795
    
    Change-Id: Ic5c53a458fc1f72cbe7269e58374412200fb6ff8
Commits on Sep 9, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 9, 2012
Commits on Sep 6, 2012
  1. audio: changes for audio device API 2.0.

    Eric Laurent
    Eric Laurent committed Aug 28, 2012
    Removed implementations of obsolete function get_supported_devices()
    
    Audio HAL wrapper provides conversion between new and old device enums.
    It exposes a rev 2.0 audio device API to the audio framework and allow
    legacy implementation to use old device enums.
    
    TODO: make sure that Qualcomm proprietary device IDs are defined properly.
    
    Change-Id: I6779d6c9bccb531d70d84136cdc8d56208b5c934
Commits on Sep 5, 2012
  1. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Sep 5, 2012
Commits on Aug 29, 2012
  1. Revert "audio: fix harmoic caused by resampler in high frequency"

    Glenn Kasten
    Glenn Kasten committed Aug 28, 2012
    This reverts commit 2e7101d.
  2. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Aug 29, 2012
  3. audio: add the headset tx

    ehgrace.kim The Android Automerger
    ehgrace.kim authored and The Android Automerger committed Aug 13, 2012
    Change-Id: If15ef8362dd2800c41fb945b96488844db29e5db
Commits on Aug 28, 2012
  1. Merge "audio: add the headset tx" into jb-mr1-dev

    Iliyan Malchev Android (Google) Code Review
    Iliyan Malchev authored and Android (Google) Code Review committed Aug 28, 2012
  2. audio: add the headset tx

    ehgrace.kim Iliyan Malchev
    ehgrace.kim authored and Iliyan Malchev committed Aug 13, 2012
    Change-Id: If15ef8362dd2800c41fb945b96488844db29e5db
  3. Merge "Update (disabled) audio policy implementation to new interface…

    jmtrivi authored and Android (Google) Code Review committed Aug 28, 2012
    …" into jb-mr1-dev
  4. merge in jb-mr1-release history after reset to jb-mr1-dev

    The Android Automerger
    The Android Automerger committed Aug 28, 2012
Commits on Aug 27, 2012
  1. audio: fix parameter for tty_mode

    ty.lee Iliyan Malchev
    ty.lee authored and Iliyan Malchev committed Aug 15, 2012
    Change-Id: Ic386415a1a62e133bbd5e9726240afd7e4dc301f
  2. audio: fix fluence acdb id

    ty.lee Iliyan Malchev
    ty.lee authored and Iliyan Malchev committed Aug 14, 2012
    Change-Id: I322bd9f04badc9c33de618b58d47894f39abdce1