summaryrefslogtreecommitdiffstats
path: root/include/hardware_legacy/AudioSystemLegacy.h
Commit message (Collapse)AuthorAgeFilesLines
* libhardware_legacy: Add MSM specific flags, devices and channels.Pavan Chikkala2016-03-181-6/+50
| | | | | | - Add support for MSM flags, devices and channels Change-Id: I591747e7a82aa937016f49bb31bb24c9f1498d97
* Remote audio submix always has priority for media, only plays mediaJean-Michel Trivi2012-10-111-1/+0
| | | | | | | | | | | Don't use force use mechanism for remote audio submix routing. Prevent streams of strategy sonification to be played over remote audio submix (e.g. WFD) and HDMI Bug 7318180 Change-Id: Ic5c87d3c568873dffea9002cf87ecf42b403cde6
* audio policy: add forced uses for systemEric Laurent2012-10-081-0/+2
| | | | | | | | | | | | | The volume and routing policy of AUDIO_STREAM_ENFORCED_AUDIBLE is now controlled by AudioService by means of new forced use type AUDIO_POLICY_FORCE_FOR_SYSTEM with config AUDIO_POLICY_FORCE_SYSTEM_ENFORCED. Property ro.camera.sound.forced is not used anymore. Bug 7032634. Change-Id: I742b0eebbe6b013f61d199846454a06411b52bc8
* audio: new audio devices enumsEric Laurent2012-09-071-2/+8
| | | | | | | | | | Changes for new audio devices enums: - legacy 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. - AudioPolicyManager: use standard enum value for no device (0). Change-Id: I855d72291d672cdd8a6641bedb228634a54b7d9d
* Update Audio Policy Manager for remote submixJean-Michel Trivi2012-09-071-0/+1
| | | | | | | | | | | | Define a new forced mode to route media to remote submix. Update media routing rules according to mode. Modify device connection management for remote submix. Note that this CL doesn't implement changes to not prevent audio recording when WFD is on, as audio recording is currently limited to one input. Change-Id: I458fe1802705da2d091ff82e536dc3e7f092f291
* Update AudioPolicyManagerBase to only use audio_devices_tJean-Michel Trivi2012-08-241-0/+2
| | | | | | | | | | | | The AudioPolicyManagerBase implementation was using some device enum values from AudioSystemLegacy.h, of type audio_devices, and some from /system/audio.h, of type audio_devices_t. Now only uses audio_devices_t, and associated functions to inspect what audio device type they correspond to. Added #define to represent "no audio device" to clarify code. Removed unused variable in AudioPolicyManagerBase::startOutput() Change-Id: Ibec311dac550d6a806397377206a43bc708914c0
* audio policy: allow disabling A2DP for media.Eric Laurent2012-05-221-0/+1
| | | | | | | | | Added FORCE_NO_BT_A2DP forced use to allow applications to override default policy to use A2DP whenever connected. Bug 6485897. Change-Id: I784271c062294fbe1aff7884965075b40c68dc24
* Use audio_format_t consistentlyGlenn Kasten2012-01-121-2/+2
| | | | | | Was int Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
* Fix bug 4319552 Use commonly defined channel mask valuesJean-Michel Trivi2011-07-251-21/+18
| | | | | | Use channel mask values that match OpenSL ES and other common APIs. Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c
* Fix bug 4211099 channel constants and 7.1 maskJean-Michel Trivi2011-07-251-14/+33
| | | | | | | | | Add definitions for the side and elevated channels. Correct definition of 7.1 mask which uses the side channels rather than the front half-pan channels. Change-Id: I8b75c6fb380fddc2db09fab53799850218940c93
* audio: update for audio/audio_policy header names/locationsDima Zavin2011-06-131-1/+1
| | | | | Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0 Signed-off-by: Dima Zavin <dima@android.com>
* update for new audio.h header locationDima Zavin2011-05-111-1/+1
| | | | | Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4 Signed-off-by: Dima Zavin <dima@android.com>
* hardware_legacy: provide HAL helpers for legacy audio usersDima Zavin2011-04-271-0/+336
This doesn't actually create a HAL, but rather a set of helper static libraries that device specific libraries (i.e. the old libaudio pieces) can link against to create a proper audio HAL module. We provide an audio_policy static wrapper and audio hardware interface static wrapper. Change-Id: Ie56195447ad24b83888f752dca24674b0afd8a76 Signed-off-by: Dima Zavin <dima@android.com>