| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Audio glitches on alarm expiry if alarm starts
on screen lock/standby mode
- On alarm expiry alarm tone will start play on combo device
&screen unlock tone try to play on headset which results
multiple device switch, as a result audio glitches are audible
- If sonfication strategy is used by primary desc , we will
treat all non music streams with sonfication stragey which
will avoid device switch
Change-Id: Id7d8dfa75f8d881549d57f01e3bb1025135d4b2c
CRs-Fixed: 514467
CRs-Fixed: 657274
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Issue: Direct outputs are also opened to query
for dynamic parameters in checkOutputsForDevice
and will be closed later by setDeviceConnectionState.
There is a mismatch between srcOutputs and dstOutputs
in checkOutputForStrategy which results in a temp
mute while moving tracks from one output to another
- Fix this issue by updating srcOutputs based on mOutputs
instead of mPreviousOutputs
Change-Id: Ie716e33606985ae93f31abbf8aac506c935840db
CRs-Fixed: 591339
|
| |
|
|
|
|
|
|
|
| |
-Incorrect routing is observed, after call disconnection, due to
devices not being updated for non-primary outputs.
-Update devices for non-primary outputs as well.
Change-Id: I424f980e3a26f57e7655b5fd10bb54e73cca3a57
CRs-Fixed: 592604
|
| |
|
|
|
|
| |
This reverts commit 6d35f2956639f78f0171a355178b84a3fb5f5c6b.
Change-Id: I1fc71b527f8eed643c92994e23f38b15d4253065
|
| |
|
|
|
|
|
| |
PS6: bring it inline with
https://github.com/CyanogenMod/android_frameworks_av/commit/09dd0f0228d76be5476afbf5ffe3bfe6fd2aecdf
Change-Id: If0f85f5d86db60dbd6c7bf7fda704d92805b3c49
|
| |\
| |
| |
| | |
https://github.com/CyanogenMod/android_hardware_libhardware_legacy into cm
|
| | |
| |
| |
| |
| |
| |
| | |
* Port changes from audio-caf to the generic HAL to bring
support for these features to more devices.
Change-Id: I74ff10dd7574498654d4771a74285e0875dd8580
|
| | |
| |
| |
| | |
Change-Id: Ia2e08de45a5e4880c9547a5cf8f93e72d4dd6baa
|
| | |
| |
| |
| |
| |
| | |
* Sync with omapzoom d-jb-mr2.1-release
Change-Id: I89cb2c3bdf667f38ff4c94c164cdfb3d750478e2
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Speaker device is selected by getDeviceForStrategy() though BT is
connected as mA2dpSuspended is still remaining as 'true' even
after ending the voice call.
- This flasg is not updated by checkA2dpSuspend() as force usage
for communication and record is still FORCE_BT_SCO after ending
voice call.
- Modified condition check to set mA2dpSuspended to 'false' as soon
as phone state is changed to MODE_NORMAL
porting from change:Ib3a67268be33a10c6bcdf6437868990a92a06c2f
Change-Id: I86ebb66cd165e8009bfa6193d2ad9ab383996283
CRs-Fixed: 671810
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-Low visibility stream is not muted during voice call when
played back to back.
-In startOutput, handleInCallSonification is called only for
first time i.e. mRefCount is 1. While in stopOutput, it is
called without any check on refCount.
This causes second notification stream to be played when
stopOutput of first stream unmutes the muted stream.
-Handle sonification while in call only for last stream in
stopOutput i.e. only if mRefCount is 1.
CRs-Fixed: 663101
Change-Id: If6cbf24aa814a115c98358883794a7c92aec0c86
|
| | |
| |
| |
| |
| |
| |
| | |
- Add string to enum conversion for new audio format
FLAC
Change-Id: Ie49170947a6524aa7412855106d666b467104a93
|
| | |
| |
| |
| |
| |
| |
| | |
- Add string to enum method for PCM offload 16/24 bit
formats
Change-Id: I8dcc2e35e1c8635a5b8f6f8de15167a40b842767
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Sometimes, when touch tones are played over USB Headset
glitch is heard. This issue is seen when startOuput
is called for touch tone after the device goes into
standby
- Fix is to increase the mute wait during starting of the
output to give additional time for the proxy device to
come up
CRs-Fixed: 615405
Change-Id: I37b772582058ec6939ca13067a31360a4de9784b
|
| | |
| |
| |
| |
| |
| |
| | |
- log msgs showing device switches
- log msgs shoing open/close of input/output streams
Change-Id: Ic6fbedc4b48db72bf2cf8af38ade0e3e80243640
|
| | |
| |
| |
| |
| |
| | |
* Weird voodoo here. Will revisit.
This reverts commit faa89e38febf7a542ff3d414fc8bc7827f43de57.
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This commit ensures driver load failure status is compared with
valid string which has the failure/success information.
Change-Id: I3b619ad0c005fb793d127bd2a23b376ed961d0b7
CRs-Fixed: 652539
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- snd device reference count is not decremented when usb headset is
unplugged, because touch tone is still active on usb headset.
So when usb is plugged again device routing is not triggered as
present and prev devices are same
- Fix is to route audio to speaker as soon as usb headset is
disconnected
CRs-Fixed: 630425
Change-Id: Id07bc44a39f72f33b39fd180efd1859de63650e5
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Device routing is not triggered in the following scenario:
Start playback on HDMI, pause it, unplug and plug the HDMI cable,
resume playback, music starts on speaker.
- Fix by update outputDesc->mDevice even if the requested device is 0
Change-Id: I4d1c1f76094f4acb20acdb8af68302ea8a1008c5
CRs-Fixed: 606004
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
-Low visibility stream is not muted during voice call when
played back to back.
-In startOutput, handleInCallSonification is called only for
first time i.e. mRefCount is 1. While in stopOutput, it is
called without any check on refCount.
So the second notification stream gets played when stopOutput
of first stream unmutes the muted stream.
-Handle sonification while in call only for last stream in
stopOutput i.e. mRefCount is 0.
CRs-Fixed: 645543
Change-Id: I73727c3cc39e7ceecfbc961c3accb109cd013d96
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- snd device reference count is not decremented when usb headset is
unplugged, because touch tone is still active on usb headset.
So when usb is plugged again device routing is not triggered as
present and prev devices are same
- Fix is to route audio to speaker as soon as usb headset is
disconnected
CRs-Fixed: 630425
Change-Id: Id07bc44a39f72f33b39fd180efd1859de63650e5
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This commit ensures driver load failure status is compared with
valid string which has the failure/success information.
Change-Id: I3b619ad0c005fb793d127bd2a23b376ed961d0b7
CRs-Fixed: 652539
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Device routing is not triggered in the following scenario:
Start playback on HDMI, pause it, unplug and plug the HDMI cable,
resume playback, music starts on speaker.
- Fix by update outputDesc->mDevice even if the requested device is 0
Change-Id: I4d1c1f76094f4acb20acdb8af68302ea8a1008c5
CRs-Fixed: 606004
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Wrong property was used to check if wpa_supplicant was running.
Fix this
Change-Id: I6a5bd7a3acae84f5ba4bba317d04191e0e59b2e7
Author: Jonathan DE CESCO <jonathan.de.cesco@intel.com>
Signed-off-by: Jonathan DE CESCO <jonathan.de.cesco@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>
Author-tracking-BZ: 66748
|
| |/ |
|
| |
|
|
|
|
| |
This reverts commit 7a133590ff567fe09b7f415371c78480d39a83e7.
Change-Id: I27968a26e755e85d4d0c150278bf7988cc86f4e6
|
| |
|
|
| |
Change-Id: If077bc6336ce57256dd078d0cbe80c3b5e3a0b6e
|
| |
|
|
|
|
|
|
| |
remove p2p interface on wpa_supplicant stop
so next time it is started it won't fail when trying
to create p2p again
Change-Id: I7a4c5e9a82a013afc75548d175d5850d67fcd927
|
| |
|
|
|
|
|
|
|
|
|
| |
- startInput is overridden in AudioPolicyManagerALSA and is
making a call to isVirtualInputDevice which is private in
AudioPolicyManagerBase.
- Make isVirtualInputDevice as protected in base class so
that it can be called from the derived class
Change-Id: I7e499b0c06f9412bc191179d497298cd57af2c3a
CRs-Fixed: 591788
|
| |
|
|
|
|
| |
* Remove duplicates and differentiate between legacy targets
Change-Id: Iad22875513846b16fa1e5d602d3fd4289d5fbde2
|
| |
|
|
|
|
|
|
|
|
|
| |
- Some streams are muted while the audio path
is switched for different device switch like
BT, Headset, AOS and HDMI etc. Audio drop is
observed for more than 3-4 secs. So tuning
this macro for better results.
Change-Id: I8bb0b6f5eb5e526b755fce97f31a3f8f6dd22064
CRs-fixed: 572654
|
| |
|
|
|
|
|
| |
Add changes needed to enable VoIP calls using compressed
audio formats.
Change-Id: I7ebdfa1c2cc9b97666c7d8392b5e6ebd9b477184
|
| |
|
|
|
|
|
|
| |
- Add DOLBY AC3/EAC3 format enums
- Use offload profile for DOLBY decoding
regardless of duration
Change-Id: I2c9738fa34635304aeca8fb529dbe8c2aa5e528d
|
| |
|
|
|
|
|
|
| |
Add system property check to use compress offload mode or not for
audio+video streaming content.
Change-Id: I10aa22995d2d1320b41f58ff9bb2303787c9d40d
CRs-fixed: 587600
|
| |
|
|
| |
Change-Id: Ic247e590039c20ace09ed3a19f61e263b1410e96
|
| |
|
|
|
|
|
|
| |
- Overwrite playback flag to AUDIO_OUTPUT_FLAG_DIRECT
for PCM_16_BIT multi-channel clips so that HDMI
profile is used for playback.
Change-Id: Ibf295f506e6ec62ffbd79091361793c18213d494
|
| |
|
|
|
|
|
|
| |
passing NULL as the default to property_get doesn't return false,
it returns random memory junk that evaluates to true... Explicitly
default the state of this property to "false" as a default
Change-Id: Ib2808bf2540b2b4fdf754d489fb44aa5d9e061a8
|
| |
|
|
|
|
|
| |
* We don't want to hear touch sounds on our badass USB DACs. Just
play the damn music, please :)
Change-Id: I08b1c5d672d853fc7116c03cd77b8828881d3a5b
|
| |\
| |
| |
| |
| |
| |
| |
| |
| | |
Android 4.4.1 Release 1
Conflicts:
audio/AudioPolicyManagerBase.cpp
Change-Id: I89ac037649e05540e85f7497e416f85032210776
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |\ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |\ \
| | |/
| |/| |
|
| | | |
| | |
| | |
| | | |
Change-Id: Ic39f17d4626dc9970edf5c5466b3ccd6d16cbd3e
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When audio clips recorded using voice recorder app is played,
openoutput() in audio policy manager is called with flags 0 and
will match the incall music profile and try to open incall music
direct output stream. Fix by looking for direct output profiles
only when AUDIO_OUTPUT_FLAG_DIRECT is set in the flags.
Change-Id: I3f6fdec1dfdc4c7642d308108199369cfc6d2409
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add a and check for property for enabline tunnel audio video
playback.
Change-Id: I8ebbfe106feac4a991de05a0db79ac64493d0129
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AUDIO_OUTPUT_FLAG_DIRECT is passed for isCompatibleProfile()
which would match incall music profile even for regular dtmf
tones. As a result output stream for incall music case is
selected. Fix by passing the input parameter flags along
with AUDIO_OUTPUT_FLAG_DIRECT.
CRs-fixed: 568696
Change-Id: Ie5a11f21a01c65fb07e9ae1268cf03b6744f9f6e
|
| | | |
| | |
| | |
| | | |
Change-Id: I1726d18f87fe6a6907bad61bc0de27e17c1237d1
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
For older audio blobs where is_source_active and is_stream_active_remotely
doesn't exist, receiving a notification and dumpsys crashes the audio service.
Change-Id: I2ec4dcece3c95c9972ce78f1f7a38fe522dd7802
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | | |
Exit gracefully when no phy's are found.
Change-Id: I8c1f57e60bb63b52d8cb086e1a25d8d5b33f03f0
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
|