| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'e714af927c1e87a488178315b78b0c12c0ec9db9':
audio policy: use legacy stream type definitions
|
| |
| |
| |
| |
| |
| |
| |
| | |
New stream types have been added, so make sure that
legacy implementation uses legacy stream definitions
Bug: 18067208
Change-Id: I8042ebe9ac3e7eda380b8c91650f2ac16b44bc34
|
|\ \
| |/
| |
| |
| |
| |
| | |
into lmp-mr1-dev
* commit 'b4b0608b0560a7cad27aeec0af8b1728b971aa3a':
legacy audio policy: check string parameters before use
|
| |
| |
| |
| |
| | |
Bug: 18262893
Change-Id: Iee6e59db7ffae5612256ba1f74aba62bc8cf12db
|
|\ \
| |/
| |
| |
| | |
* commit 'a311a983eb4035b272033105119cb44d814fb2db':
audio HAL: add parameters to open stream functions
|
| |
| |
| |
| |
| |
| |
| |
| | |
Pass device address (and audio source for inputs) to
open_output_stream() and open_input_stream() audio HAL functions.
Bug: 14815883.
Change-Id: Ib1c3e98518733fa5eab54cbca4220e388d3f6211
|
|\ \
| |/
|/|
| |
| | |
* commit '39b3abc0ca227d72f66bb47a75cec2acfb4d6de0':
audio: add mechanism to re-route nullified audio
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes a race condition whereby two requests attempt to change the audio stream
(and interrupt each other). For example, a user space app makes a call through
the audio API and before completion, a kernel function such as jack removal is
detected and is serviced. In this case, you have a nullified audio route that
needs to be re-routed.
In order to know a routing update is needed, a boolean member mForceRouting
has been introduced to enforce routing for the next attempt to set audio output
with a non-null device.
Change-Id: Ia0aa2f27fe63c39f0980dec2e1e79dbc26b81e56
Author: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Vincent Becker <vincentx.becker@intel.com>
Signed-off-by: Zhi Jin <zhi.jin@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Robert Beatty <robert.m.beatty@intel.com>
|
| |
| |
| |
| | |
Change-Id: I17db01e92bfa939c7a15e7f9f95197d0a0568033
|
| |
| |
| |
| |
| |
| |
| | |
Do not use popcount() to derive channel count from channel mask.
Bug: 15000850.
Change-Id: I5050ce7fd7884369eb0de37967e40052630006a9
|
| |
| |
| |
| |
| |
| |
| | |
for USB Audio Output
Bug: 13747844
Change-Id: I53b7db8102fd2ed24014c338ea5e7290cda8b2f3
|
| |
| |
| |
| |
| | |
Bug: 9428304.
Change-Id: Ie3c9827ed78703a1b2d9699e38ce628f3055138b
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AudioService now indicates in and out device connection
separately in case of combined devices like wired headset
or BT SCO headset.
Change-Id: Id20e02bb351cc732ceddccf597742ced049671a8
|
|/ /
| |
| |
| | |
Change-Id: I500d1f2f8f2199c674b289cf671b7f863a7d02ee
|
|\ \
| |/
| |
| |
| |
| |
| | |
openOutputStreamWithFlags API"
* commit '62038fc4c5c596f04a87388bb42bdef13d359c39':
Audio: add an openOutputStreamWithFlags API
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The existing openOutputStream API did not allow passing stream flags even
though its audio hardware interface's open_output_stream counterpart does take
a "flags" argument. This means that, when the audio hw_module is implemented
using libhardware_legacy, the output flag was lost.
This commit adds an API in libhardware_legacy's audio module, allowing to pass
the flag, and updates the default wrapper in order to call this new API instead
of the old version that missed the flag.
Change-Id: I20c102d32b489f87fabbd7d02aa0b28fae13948b
Signed-off-by: David Wagner <david.wagner@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
|
| | |
| | |
| | |
| | | |
Change-Id: Ib2e531f115f8bd1d5f290094032f3f4a4753e726
|
|\ \ \
| |/ /
| | |
| | | |
Change-Id: Ie85a3c7d498d7685738190267916e9a205cc469e
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Fix a few 64-bit warnings and set -Wno-unused-parameter, which makes
the directory warnings-clean on 32-bit and 64-bit.
Remove LOCAL_32_BIT_ONLY.
Change-Id: I688b31683f1a6598419866d9b7b6bc27a7056f4a
|
| |
| |
| |
| | |
Change-Id: I4e2517233487ca7487ed7948a974fc2cc6c41190
|
|\ \
| |/
| |
| |
| | |
* commit 'fa8ad9fb544e01e663709e8dccd9b358e4d3ede9':
Audio policy is 32-bit only
|
| |
| |
| |
| | |
Change-Id: I2eca0286d98bb5eebe9c68286d4ee7ed366f173d
|
|\ \
| |/
| |
| |
| |
| |
| | |
AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable"
* commit 'e6c7127ef2491ddeb995ffb48843fda4e30ff9ff':
audio policy : add AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds AUDIO_DEVICE_IN_USB_DEVICE to sDeviceNameToEnumTable[],
It had to be added here, when it was defined in system/core/include/system/audio.h
AudioPolicyManagerBase::loadHwModule() fails to parse device type of
AUDIO_DEVICE_IN_USB_DEVICE in audio_policy.conf.
By applying this commit, AUDIO_DEVICE_IN_USB_DEVICE can be used for
audio policy customization.
Change-Id: I0165956334d7105129dca4c746372dbca0d9e324
|
| |
| |
| |
| |
| |
| | |
In particular, we need AUDIO_FORMAT_PCM_24_BIT_PACKED.
Change-Id: I28abe8466024bdd4d1edbb4281c6472d45a2d94f
|
| |
| |
| |
| |
| |
| | |
And simplify by removing the unused I/O handle parameter 'output'.
Change-Id: Ie9c4df17a7378066312d4ed8790fda7a9125c95e
|
| |
| |
| |
| |
| |
| | |
Remove NUL characters from audio_policy's dump output
Change-Id: If591473dbe3e5adbc34dbbdb0d552b329f19eb6a
|
|\ \
| |/
| |
| |
| |
| |
| | |
LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"
* commit '3582b9b0e1caa4a43b8706e699903142e34ad5c0':
hardware/libhardware_legacy: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
LOCAL_MODULE_RELATIVE_PATH
LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it
with LOCAL_MODULE_RELATIVE_PATH.
Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When a new output stream is opened upon device connection,
always send mandatory configuration parameters
(A2DP device address, ALSA card and device number etc...)
immediately after opening the output.
Change-Id: Id1fc1d99d3b30e2ef907dcb231a6a9e70560ecae
|
| |
| |
| |
| | |
Change-Id: I6ef6ec50cd5e0e751dc5063af1f7d8882588a89b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also:
- use %x format for logging channel masks
- use AUDIO_CHANNEL_IN_* constants from system/audio.h instead of AudioSystemLegacy.h symbols
- remove redundant casts
- use "channelMask" instead of "channels" to avoid possible confusion with channel counts
Change-Id: If05d6b1cae5cf1b560cd53a93ae9e592b719ec9e
|
| |
| |
| |
| |
| |
| | |
Also remove unnecessary default parameters
Change-Id: I553c01a98b8c2a3f3fd2ac98724aded3ad3c3022
|
|/
|
|
| |
Change-Id: Ie2e49d108a4dd33725296c96aaf9458585b81d32
|
|\
| |
| |
| |
| | |
* commit '18fc094c0ed41851be3d746423c6695dd28d48e1':
Define and use DRC-specific volume curves when applicable
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add support for property defining whether a DRC on the speaker path
is enabled and will boost soft sounds.
Define new volume curves with more attenuations than existing ones
to compensate for DRC-induced boost on sonification sounds to
provide a more "linear" control to the user over the applied volume.
Bug 11600699
Change-Id: If23dd097a8b9b5ebb61e75dd8512ff75e63ba899
|
|\ \
| | |
| | |
| | |
| | | |
* commit '376356d4e0c135e710c6232e7e3f5c950247c848':
audio: do not use GNU old-style field designators
|
| | |
| | |
| | |
| | |
| | |
| | | |
Avoiding the use of gnu extensions improves code portability
Change-Id: Ifa8f5d230de20a6284bb943c1ca3c48fd5fd5f2d
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* commit '2c14d79895593d4f8e1241b522cd3ce2d7225aaf':
Revert "audio: do not use GNU old-style field designators"
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit d2bd76e0dabdfbdd33265b68c6b519cce1d673c6.
Change-Id: I6fb884cd0e1efa0c792521b67ed193420f6929ba
|
|\ \ \ \
| |/ / /
| | | /
| |_|/
|/| | |
* commit '636ab7e2dd52c3cdad575a49b952c1235d734240':
audio: do not use GNU old-style field designators
|
| |/
| |
| |
| |
| |
| | |
Avoiding the use of gnu extensions improves code portability
Change-Id: Ifa8f5d230de20a6284bb943c1ca3c48fd5fd5f2c
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Do not allow offloading if one non offloadable effect is enabled. This prevents from
creating an offloaded track and tearing it down immediately after start when audioflinger
detects there is an active non offloadable effect.
Not doing so breaks gapless playback because AwesomePlayer will always be able to open
an offloaded track which will not be compatible with the previous PCM track and
Audiosink::open() will not recycle it.
Bug: 11181933.
Change-Id: I6d163806849d9093b9ec701ba8e8c1ccb658e3c8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
commit a527ffd broke the selection of an available
direct output profile in getProfileForDirectOutput().
getProfileForDirectOutput() should check for direct output profiles
regardless of the flags provided to getOutput().
Bug: 11051912.
Change-Id: I4a84734331bfed03d6024ea1c2e8776c27d0b28f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When voice call stream volume is at 0, DTMF are not heard at all.
DTMF volume should follow the behavior of voice call volume which
is never completely muted.
Bug: 10932676.
Change-Id: Iaf0e33284be75b00516a837907e66be3123e5331
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A valid offload info structure must be provided when
opening an offload output stream in checkOutputsForDevice()
upon headset insertion.
Bug: 8174034.
Change-Id: Id800a206536e5ce979febf89747a51db581c53b6
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Only list 48000 Hz in supported sampling rates for remote submix
output and input stream profiles to avoid mismatch betwen playback
and capture.
Bug: 10900252.
Change-Id: Id96e914caeb42e8f4aa5fe4e55e19156cdd67b58
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add rules to select the appropriate output for global
effects.
Move global effects if needed when an offloaded output is
created or released.
Bug: 8174034.
Change-Id: I0bbd8e9f8aa717f672462dd74ba0d01eaef1fda7
|