1. 15 Mar, 2011 1 commit
  2. 10 Feb, 2011 1 commit
  3. 02 Feb, 2011 1 commit
    • Eric Laurent's avatar
      Fix issue 3371080. · 36291a74
      Eric Laurent authored
      Move isStreamActive() method from AudioFlinger to AudioPolicyManager.
      iStreamActive() now specifies a time window during which the stream is considered
      active after it actually stopped.
      
      Change-Id: Ib0d7d8f061b9f809d307ecfac40960ef582e5f0f
      36291a74
  4. 25 Jan, 2011 1 commit
  5. 20 Jan, 2011 1 commit
  6. 19 Jan, 2011 1 commit
    • Eric Laurent's avatar
      Tentative fix for issue 3362362. · 61f35794
      Eric Laurent authored
      Added an initCheck() method to AudioPolicyInterface to verify
      successful initialization of AudioPolicyManager.
      
      Change-Id: I4c892282dbeb3246ee6c006bd206a3e723bcb71f
      61f35794
  7. 01 Dec, 2010 1 commit
    • Eric Laurent's avatar
      Fix issue 2641884: Bluetooth volume is dependent on in call volume. · 831ad524
      Eric Laurent authored
      The problem is that the code in AudioPolicyManagerBase::checkAndSetVolume() that forces
      voice volume to max when setting bluetooth SCO volume is not called if the bluetooth stream
      volume did not actually change. So even if we re apply volumes when switching to bluetooth
      device, the voice volume is not changed in audio HAL and remains what it was when routed to earpiece.
      What makes things worse on Passion is that stream volumes are limited when connected to bluetooth
      and their actual value does not change as soon as they exceed the limit threshold.
      
      Change-Id: Ieb72a71e06e9b3079cc8bc76c78ce83e060a2ea2
      831ad524
  8. 16 Nov, 2010 1 commit
  9. 03 Nov, 2010 1 commit
    • Eric Laurent's avatar
      Fix issue 3142808. · 2f2db765
      Eric Laurent authored
      There is a bug in the way audio policy manager handles A2DP interface suspend/restore
      when SCO is used. This bug is not new but has been triggered by a change in the timing
      of the events received by audio policy manager when a call is setup and torn down
      introduced by commit 164a8f86c7e48992691368c4895709c3bdb835a4.
      
      The fix consists in grouping the control of A2DP suspended state in a single function
      that is called systematically when conditions affecting this state are changed:
      - call state change
      - device connection/disconnection
      - change in forced usage.
      
      Change-Id: Ib76a999513b5afbfd59ba945f8650d2a48d6f480
      2f2db765
  10. 28 Aug, 2010 1 commit
    • Eric Laurent's avatar
      Fix issue 2952766. · d6e68c3a
      Eric Laurent authored
      The fix for issue 2952766 showed some unused code in
      AudioPolicyManagerBase::checkOutputForStrategy(): since commit
      eb8f850d0b7e53956e917fd9645f808c1a09bc88: there is no need
      to update the hardware output device as it will be updated when the
      new tracks are created by audioflinger.
      
      Change-Id: I2f46fab58a5db3b4cd03fdaeebd7d6603c8dbbdd
      d6e68c3a
  11. 20 Jul, 2010 1 commit
    • Eric Laurent's avatar
      Audio policy manager changes for audio effects · d2b227e7
      Eric Laurent authored
      Added methods for audio effects management by audio policy manager.
      - control of total CPU load and memory used by effect engines
      - selection of output stream for global effects
      - added audio session id in parameter list for startOutput() and stopOutput().
      this is not used in default audio policy manager implementation.
      
      Change-Id: I3467e64035387cc5272266b1318a5ed788958374
      d2b227e7
  12. 25 May, 2010 1 commit
    • Eric Laurent's avatar
      Fix issue 2641884: Bluetooth volume is dependent on in call volume. · 564c3032
      Eric Laurent authored
      The problem is that the code in AudioPolicyManagerBase::checkAndSetVolume() that forces
      voice volume to max when setting bluetooth SCO volume is not called if the bluetooth stream
      volume did not actually change. So even if we re apply volumes when switching to bluetooth
      device, the voice volume is not changed in audio HAL and remains what it was when routed to earpiece.
      What makes things worse on Passion is that stream volumes are limited when connected to bluetooth
      and their actual value does not change as soon as they exceed the limit threshold.
      
      Change-Id: Ic6c54b4a7fd54983f445de9a9b5cd2ea0025155c
      564c3032
  13. 16 Mar, 2010 1 commit
  14. 23 Feb, 2010 1 commit
  15. 16 Feb, 2010 1 commit
  16. 13 Jan, 2010 1 commit
    • Eric Laurent's avatar
      Create base class for audio policy manager. · de55cfb0
      Eric Laurent authored
      First implementations of audio policy manager in Eclair branch have shown that most code is common to all platforms.
      Creating AudioPolicyManagerBase base class will improve code maintainability and readability.
      de55cfb0