History log of /hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
31363a9cb94e80330c335fede0b92b1953a09517 12-Oct-2012 Jean-Michel Trivi <jmtrivi@google.com> Remote audio submix always has priority for media, only plays media

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
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
738207def5f691d605ae33d041116829a74513a9 09-Oct-2012 Eric Laurent <elaurent@google.com> audio policy: add forced uses for system

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
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
ed8f62d4faa53bbd53a358c5f494b653a09285e4 28-Aug-2012 Eric Laurent <elaurent@google.com> audio: new audio devices enums

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
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
48387b28c87327c6c4d512eabe091c29236d2e70 20-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Update Audio Policy Manager for remote submix

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
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
c8101f5b14e745b348592c5609e55f121a11a6bf 24-Aug-2012 Jean-Michel Trivi <jmtrivi@google.com> Update AudioPolicyManagerBase to only use audio_devices_t

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
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
1afd84f62291d20414cbf58c7af01462a8fdca60 21-May-2012 Eric Laurent <elaurent@google.com> audio policy: allow disabling A2DP for media.

Added FORCE_NO_BT_A2DP forced use to allow applications to
override default policy to use A2DP whenever connected.

Bug 6485897.

Change-Id: I784271c062294fbe1aff7884965075b40c68dc24
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
53e2cfab45b411db0bf6c4b5d146cd9d8b1b1425 13-Jan-2012 Glenn Kasten <gkasten@google.com> Use audio_format_t consistently

Was int

Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
20324efa14255de566551f6880740ee40809a18b 26-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4319552 Use commonly defined channel mask values

Use channel mask values that match OpenSL ES and other common APIs.

Change-Id: Ie7e62bf8e3565f4e4b1f17b6e525c490989c8d6c
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
9b1b6064c1df329de41aaa056a88711e5783cc7d 25-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4211099 channel constants and 7.1 mask

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
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
d17f66f33276e64e8e288f6ff2b1cb8169650c81 14-Jun-2011 Dima Zavin <dima@android.com> audio: update for audio/audio_policy header names/locations

Change-Id: I7a414a2e173c2bfd72ae70d57b251fa0d4dbdfa0
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
4a0748be283a8c9efa02243c3e1716c49443a87c 11-May-2011 Dima Zavin <dima@android.com> update for new audio.h header location

Change-Id: Ia0859cc22cfd50a334235aac5b1e8688bc3d52f4
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h
e81531e91ecae92aff471dbff9cbeb0f95ff4a80 20-Apr-2011 Dima Zavin <dima@android.com> hardware_legacy: provide HAL helpers for legacy audio users

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>
/hardware/libhardware_legacy/include/hardware_legacy/AudioSystemLegacy.h