Merge commit 'e6bb8325b55cc1087d84004166a97d2b9bef98bb'
* commit 'e6bb8325b55cc1087d84004166a97d2b9bef98bb':
Patch from HTC related to use of camcorder with wired headset plugged in:
Merge commit '0fd7c5be0e7e7f1013617ed2da24941c596a2137' into eclair-mr2-plus-aosp
* commit '0fd7c5be0e7e7f1013617ed2da24941c596a2137':
Patch from HTC related to use of camcorder with wired headset plugged in:
Merge commit '58cf88a5a91d82ae2fb3e23365eaa4524a9cd089' into eclair-mr2
* commit '58cf88a5a91d82ae2fb3e23365eaa4524a9cd089':
Patch from HTC related to use of camcorder with wired headset plugged in:
- libaudio: incorrect ACDB setting was used when starting to record
with wired headset.
- libaudio: remove unnecessary audio path switch when camcorder is started
with wired headset.
Submitted on behalf of HK Chen <hk_chen@htc.com>
Merge commit '3008e8f5b947d7b7f88427dcf54f11e800d007df'
* commit '3008e8f5b947d7b7f88427dcf54f11e800d007df':
Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
Merge commit '0a210585758e1b3ede232b9dddb1494a55dc157a' into eclair-mr2-plus-aosp
* commit '0a210585758e1b3ede232b9dddb1494a55dc157a':
Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
Merge commit '979de023050ebe82680c665259fc833b0a17d3f5' into eclair-mr2
* commit '979de023050ebe82680c665259fc833b0a17d3f5':
Fix issue 2245963: incoming call rings in ringtone-volume level through a wired headset is while listening to music.
to fix issue 2229040. This workaround is considered no longer useful
by HTC since the changes in the A1026 configuration.
Removing workaround on behalf of HK Chen (HTC).
When the ringtone is not looped (non factory ringtone), a new AudioTrack is started every time the ringtone is repeated. The second time the track is started, the condition that triggers volume limitation is not true any more as music has been stopped for more than SONIFICATION_HEADSET_MUSIC_DELAY seconds and ringtone volume is not limited.
The fix consists in checking the condition (music playing or stopped for less than SONIFICATION_HEADSET_MUSIC_DELAY) when entering ringtone mode and latch it until we exit ringtone mode.
Merge commit 'bcd5273d6aa77cc961261202c8c9eee950ddc8b7' into eclair-mr2-plus-aosp
* commit 'bcd5273d6aa77cc961261202c8c9eee950ddc8b7':
should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
Merge commit 'd285af5636ac54b37da3b4048b17855ac9c32a42' into eclair-mr2-plus-aosp
* commit 'd285af5636ac54b37da3b4048b17855ac9c32a42':
Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active.
Merge commit '072b5f0df424b2a0c50cdb7b605d3a749dcac7cf' into eclair-mr2
* commit '072b5f0df424b2a0c50cdb7b605d3a749dcac7cf':
should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
Merge commit '956f7ba5ee0f087c91b5fefd2718dae30f8c1e29' into eclair-mr2
* commit '956f7ba5ee0f087c91b5fefd2718dae30f8c1e29':
Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active.
Merge commit '072b5f0df424b2a0c50cdb7b605d3a749dcac7cf' into eclair-plus-aosp
* commit '072b5f0df424b2a0c50cdb7b605d3a749dcac7cf':
should help [2223746] qsd8k MDP locks up, logs show copyBits failed (Connection timed out) in Passion camera zoom level 1
Merge commit '956f7ba5ee0f087c91b5fefd2718dae30f8c1e29' into eclair-plus-aosp
* commit '956f7ba5ee0f087c91b5fefd2718dae30f8c1e29':
Workaround for issue 2229040: [Passion] Audio driver stuck when changing input routing while recording is active.
This change avoids the audio driver lockup when changing audio input path configuration. It does not solve the root cause in audio driver or dsp.
When applied lockups observed in the folling use cases are eliminated:
- use back mic for camcorder recording (issue 2194140)
- switch input device when headset is plugged in or out during record (issue 2226658).
Also removes warnings.
Submitted on behalf of H.K Chen <hk_chen@htc.com>
Merge commit '4ad4ab296ba6bb90322ee2780e05a33c67883089'
* commit '4ad4ab296ba6bb90322ee2780e05a33c67883089':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit '5fd5d902775cbdb0e9498c6708b99316de8e3e17' into eclair-mr2-plus-aosp
* commit '5fd5d902775cbdb0e9498c6708b99316de8e3e17':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit 'f06a9889288034e9bd3e54fbae3bb48ad7bd3f89' into eclair-mr2
* commit 'f06a9889288034e9bd3e54fbae3bb48ad7bd3f89':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit 'f06a9889288034e9bd3e54fbae3bb48ad7bd3f89' into eclair-plus-aosp
* commit 'f06a9889288034e9bd3e54fbae3bb48ad7bd3f89':
Fix issue 2226658: Audio path not updated when a headset is plugged or unplugged while recording.
Merge commit '977729303ce0a5609b3ddbd36e6801d8397ff5c4' into eclair-mr2-plus-aosp
* commit '977729303ce0a5609b3ddbd36e6801d8397ff5c4':
enable mdp debugging on error, also check for invalid inputs
Merge commit 'b7f7f038529135a5c21234ae89e4b87a1c56854a' into eclair-mr2
* commit 'b7f7f038529135a5c21234ae89e4b87a1c56854a':
enable mdp debugging on error, also check for invalid inputs