1. Fix the HAL version check
2. Disable some test temporarily as the deprecated tags were used.
Bug: 16855498
Change-Id: I9f9dc285a1085b471d03c5a900cc44dd2a7480c3
Do not read the ALSA PCM device configuration when playback
or capture is active.
Do not force ALSA profile update if card and device passed
to out/in_set_parameters() do not change.
Hold the main HAL lock when closing or opening the
ALSA PCM device.
Bug: 15520724.
Change-Id: I2b6087ed46ce7433de0b6dd8b24ec10de2e55d21
Agreement with MHL consortium mandates that the open source implementation
should mention only RAP/RCP/Scratchpad command and their related constant
definitions.
Also added a new event definition that provides with the capability info
of the connected device.
Change-Id: I0875e96672720bf2f182ee1d8b4c32437faac930
The number of channels can be "forced" using k_force_channels.
If the channel count proposed by AudioFlinger is not permitted
by the device, it is emulated.
Change-Id: Ib20e680c8f95adb84616a4fe52977f659cf4d6ca
This HAL was intended to support doze mode but it is currently
unused and it's best for it to stay that way.
Bug: 16516536
Change-Id: I4f442e27d68f18ff322afd4c1debd2f392687e80
Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.
Bug: 14815883.
Change-Id: I5535677db3f3027917a31a7ed5c0a4c6bc013639
This reverts commit 0e956a7cd2dee76b762320c141960ffdb64d24eb.
The decision was to revert to the old behavior where retransmission
will be handled by HAL for efficiency.
Change-Id: If165b60c0408ea1015b83806f6bf21e18b15bc7f
Refactoring alsa device attributes to alsa_device_profile.h/.c
Refactoring alsa device state to alsa_device_proxy.h/.c
Refactoring format functions into format.h/.c
Refactoring logging functions into logging.h/.c
Sundry (and extensive) code cleanup
Reworked locking on out_write() and in_read() to allow
simultaneous input/output
Bug: 15986827, 15856702, 12833166
Change-Id: I82c8d0ef252b2f95ee23f263dc175f4c883bfd64
On many devices, hardware cursors have stricter layout constraints than
other overlays. GRALLOC_USAGE_CURSOR indicates a buffer may be used as
a cursor; byte order and padding should be chosen accordingly.
GRALLOC_USAGE_CURSOR must not cause allocation failure. If the requested
properties (dimensions, format, other usage flags, etc.) aren't compatible with
the device's cursor hardware, the implementation must allocate the buffer
anyway, acting as if GRALLOC_USAGE_CURSOR were not specified.
Change-Id: I7d66e8d7c953421d996c5def3257d408f91962f4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
Reorder hardware types so that older types comes first roughly. This
would make it more natural to add newer hardware types as they come.
In addition, remove verbose comments where the meaning is obvious from
the name.
Change-Id: I275e9e608c8c2392e3f7ec2c5d81743059f2d36b