summaryrefslogtreecommitdiff
path: root/libs/audioflinger/AudioPolicyService.cpp
AgeCommit message (Collapse)Author
2010-07-14move native services under services/ Mathias Agopian
moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
2010-01-13Create base class for audio policy manager. Eric Laurent
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. Audio policy manager code for platforms using generic audio previously in AudioPolicyManagerGeneric is replaced by AudioPolicyManagerBase. Audio policy manager test code previously in AudioPolicyManagerGeneric is moved to AudioPolicyManagerBase. Also added a wake lock for delayed commands in AudioPolicyService.
2009-11-07More log for issue 2242381. Eric Laurent
Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.
2009-11-03Log for issue 2203561. Eric Laurent
Implemented AudioPolicyService dump(). Added detailed dump for AudioPolicyManageriGeneric when AudioPolicyService is dumped.
2009-10-21Fix issue 2192181: AudioFlinger must provide separated methods to set ↵ Eric Laurent
VOICE_CALL stream volume and down link audio volume. Added setVoiceVolume() method to AudioSystem, AudioFlinger, IAudioFlinger, AudioPolicyService. Removed call to AudioHardwareInterface::setVoiceVolume() from AudioFlinger::setStreamVolume().
2009-08-27Fix issue 2045911: Camera Shutter tone does not play correctly while ↵ Eric Laurent
listening to music. Add the possibility to delay routing and volume commands in AudioPolicyClientInterface. The delay is not blocking for the caller.
2009-08-07Fix issue 2001214: AudioFlinger and AudioPolicyService interfaces should not ↵ Eric Laurent
use pointers as handles to inputs and outputs. Use integers instead of void* as input/output handles at IAudioFlinger and IAudioPolicyService interfaces. AudioFlinger maintains an always increasing count of opened inputs or outputs as unique ID.
2009-07-24Fix issue 2001204: libaudiopolicy.so and libaudiopolicygeneric.so libraries ↵ Eric Laurent
must be pre-linked.
2009-07-23Fix issue 1795088 Improve audio routing code Eric Laurent
Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()