Commit Graph

293 Commits

Author SHA1 Message Date
HK Chen
a81c636dbc am 5a9bd914: am 3cb88645: qsd8k: fix set_mic_mute() in AudioHardware.
Merge commit '5a9bd9145853d405614c04b6cb46b0aac9b5e643'

* commit '5a9bd9145853d405614c04b6cb46b0aac9b5e643':
  qsd8k: fix set_mic_mute() in AudioHardware.
2009-10-20 00:50:59 -07:00
HK Chen
1aa59df4b9 am 3cb88645: qsd8k: fix set_mic_mute() in AudioHardware.
Merge commit '3cb8864598e72c04859f410bb03f242cf3965dbe' into eclair-mr2-plus-aosp

* commit '3cb8864598e72c04859f410bb03f242cf3965dbe':
  qsd8k: fix set_mic_mute() in AudioHardware.
2009-10-20 00:43:11 -07:00
HK Chen
b5075dd3df qsd8k: fix set_mic_mute() in AudioHardware.
Signed-off-by: Brian Swetland <swetland@google.com>
2009-10-15 01:23:48 -07:00
Eric Laurent
e64d2eecb4 am 9cad54e0: am ba8101e9: Merge change I34a989e8 into eclair
Merge commit '9cad54e0ea6ad903b10a4fd8dd0e116328c5b416'

* commit '9cad54e0ea6ad903b10a4fd8dd0e116328c5b416':
2009-10-14 16:21:09 -07:00
Jean-Michel Trivi
4d75b93352 am 7b5d43fe: am 195d08b5: Fix bug 2172716. Align AudioPolicyManager code in msm7k/libaudio and msm7k/libaudio-qsd8k
Merge commit '7b5d43feb9489520eaeeed4a413954f81115e020'

* commit '7b5d43feb9489520eaeeed4a413954f81115e020':
2009-10-14 16:21:07 -07:00
Dima Zavin
6da5db92e5 am 3a6a4c27: am a6537357: gralloc-qsd8k: Call glFinish on composition complete.
Merge commit '3a6a4c2723affadfa882d969395ad248b91d5d58'

* commit '3a6a4c2723affadfa882d969395ad248b91d5d58':
2009-10-14 16:21:04 -07:00
Eric Laurent
0c29188c48 am ba8101e9: Merge change I34a989e8 into eclair
Merge commit 'ba8101e944ec0ffea2b89739667d3ce731d6e818'

* commit 'ba8101e944ec0ffea2b89739667d3ce731d6e818':
  Fix issue 2172934: AudioHardware for msm7k: some file descriptor tests must be fixed.
2009-10-13 17:00:24 -07:00
Jean-Michel Trivi
baeea6092f am 195d08b5: Fix bug 2172716. Align AudioPolicyManager code in msm7k/libaudio and msm7k/libaudio-qsd8k
Merge commit '195d08b5a1d93025464f7347280f182e5da7fda7'

* commit '195d08b5a1d93025464f7347280f182e5da7fda7':
  Fix bug 2172716. Align AudioPolicyManager code in msm7k/libaudio and msm7k/libaudio-qsd8k
2009-10-13 17:00:21 -07:00
Dima Zavin
e850535731 am a6537357: gralloc-qsd8k: Call glFinish on composition complete.
Merge commit 'a653735759df4b8338475d79044c6494b238e681'

* commit 'a653735759df4b8338475d79044c6494b238e681':
  gralloc-qsd8k: Call glFinish on composition complete.
2009-10-13 11:53:11 -07:00
Eric Laurent
dd3deeed9d am ba8101e9: Merge change I34a989e8 into eclair
Merge commit 'ba8101e944ec0ffea2b89739667d3ce731d6e818' into eclair-plus-aosp

* commit 'ba8101e944ec0ffea2b89739667d3ce731d6e818':
  Fix issue 2172934: AudioHardware for msm7k: some file descriptor tests must be fixed.
2009-10-12 09:48:13 -07:00
Android (Google) Code Review
7c65dd73a3 Merge change I34a989e8 into eclair
* changes:
  Fix issue 2172934: AudioHardware for msm7k: some file descriptor tests must be fixed.
2009-10-12 12:42:51 -04:00
Jean-Michel Trivi
f91bd47a25 am 195d08b5: Fix bug 2172716. Align AudioPolicyManager code in msm7k/libaudio and msm7k/libaudio-qsd8k
Merge commit '195d08b5a1d93025464f7347280f182e5da7fda7' into eclair-plus-aosp

* commit '195d08b5a1d93025464f7347280f182e5da7fda7':
  Fix bug 2172716. Align AudioPolicyManager code in msm7k/libaudio and msm7k/libaudio-qsd8k
2009-10-12 09:03:37 -07:00
Eric Laurent
0933f47098 Fix issue 2172934: AudioHardware for msm7k: some file descriptor tests must be fixed. 2009-10-09 18:18:47 -07:00
Jean-Michel Trivi
fcc698f9b4 Fix bug 2172716. Align AudioPolicyManager code in msm7k/libaudio and msm7k/libaudio-qsd8k 2009-10-09 16:58:34 -07:00
Dima Zavin
7567fe11a4 am a6537357: gralloc-qsd8k: Call glFinish on composition complete.
Merge commit 'a653735759df4b8338475d79044c6494b238e681' into eclair-plus-aosp

* commit 'a653735759df4b8338475d79044c6494b238e681':
  gralloc-qsd8k: Call glFinish on composition complete.
2009-10-08 01:20:12 -07:00
Dima Zavin
ef7776257a gralloc-qsd8k: Call glFinish on composition complete.
Change-Id: I09c8287bcaf89f3f8bcaa4108631641a0fcc397b
Signed-off-by: Dima Zavin <dima@android.com>
2009-10-08 01:13:51 -07:00
Eric Laurent
1d27258481 am b0fbafbf: am ee997372: Fix issue 2146459:AudioPolicyManager: notification and ringtone streams can remain muted.
Merge commit 'b0fbafbfb328166b61c3e842a8781696f281f3ca'

* commit 'b0fbafbfb328166b61c3e842a8781696f281f3ca':
  Fix issue 2146459:AudioPolicyManager: notification and ringtone streams can remain muted.
2009-10-01 11:38:30 -07:00
Eric Laurent
33575214c1 am ee997372: Fix issue 2146459:AudioPolicyManager: notification and ringtone streams can remain muted.
Merge commit 'ee997372b7d4aea4966d0c27cbd11fe43de31197' into eclair-plus-aosp

* commit 'ee997372b7d4aea4966d0c27cbd11fe43de31197':
  Fix issue 2146459:AudioPolicyManager: notification and ringtone streams can remain muted.
2009-09-29 15:13:18 -07:00
Eric Laurent
addb2c56fc Fix issue 2146459:AudioPolicyManager: notification and ringtone streams can remain muted.
The fix consists in adding a parameter to handleIncallSonification() indicating that it is called from setPhoneState() in which case the stream mute or unmute is called as many times as there are active tracks on the output.

Also change the time when handleIncallSonification() is called in setPhoneState() to make sure that both mPhoneSate and the selected device are coherent with the IN_CALL state when the fucntion is called.
2009-09-29 15:04:46 -07:00
HK Chen
2b44244851 am 02b088fe: am 7161d052: Fix get_snd_dev() in AudioHardware.
Merge commit '02b088fe2fdc2d61dbee5af3c52bbd2144b66dd8'

* commit '02b088fe2fdc2d61dbee5af3c52bbd2144b66dd8':
  Fix get_snd_dev() in AudioHardware.
2009-09-29 11:11:52 -07:00
HK Chen
c4bc52ded6 am 7161d052: Fix get_snd_dev() in AudioHardware.
Merge commit '7161d052ce69228825bd5deca3bfa4a213a99f06' into eclair-plus-aosp

* commit '7161d052ce69228825bd5deca3bfa4a213a99f06':
  Fix get_snd_dev() in AudioHardware.
2009-09-28 16:18:53 -07:00
HK Chen
2d2802d283 Fix get_snd_dev() in AudioHardware. 2009-09-28 14:58:06 -07:00
Jean-Michel Trivi
387c595bcc am cb323590: am 9b5caf53: Merge change 27062 into eclair
Merge commit 'cb32359081c08d147bdb0569de21ceed59b57fc9'

* commit 'cb32359081c08d147bdb0569de21ceed59b57fc9':
  Fix bug 2146274. Modify the Audio Policy Manager
2009-09-27 15:39:55 -07:00
Jean-Michel Trivi
500868d0c0 am 9b5caf53: Merge change 27062 into eclair
Merge commit '9b5caf539136ccc1106b49155f531f5e70b41ba0' into eclair-plus-aosp

* commit '9b5caf539136ccc1106b49155f531f5e70b41ba0':
  Fix bug 2146274. Modify the Audio Policy Manager
2009-09-25 15:10:38 -07:00
Android (Google) Code Review
ac5de163ca Merge change 27062 into eclair
* changes:
  Fix bug 2146274. Modify the Audio Policy Manager to support dynamic rerouting of STREAM_VOICE_CALL streams when using AudioManager.setSpeakerphoneOn(bool) even when not in call.
2009-09-25 18:01:44 -04:00
HK Chen
ae84218649 am 511722f3: am 31923bb6: qsd8k: audio: remove pre-filling buffers for pcm playback.
Merge commit '511722f38480f2fba2b579ba3c59dc6c817a00d1'

* commit '511722f38480f2fba2b579ba3c59dc6c817a00d1':
  qsd8k: audio: remove pre-filling buffers for pcm playback.
2009-09-25 11:15:16 -07:00
Dima Zavin
99768a3763 am b8e3c56c: am afff0dae: copybit: hack to always request premultiplied alpha blend.
Merge commit 'b8e3c56c4b9045b16401698e46be40b6e7b454e0'

* commit 'b8e3c56c4b9045b16401698e46be40b6e7b454e0':
  copybit: hack to always request premultiplied alpha blend.
2009-09-25 11:11:48 -07:00
Jean-Michel Trivi
5312b467f3 Fix bug 2146274. Modify the Audio Policy Manager
to support dynamic rerouting of STREAM_VOICE_CALL streams when using
AudioManager.setSpeakerphoneOn(bool) even when not in call.

The setSpeakerphoneOn() method is mapped in the AudioPolicyManager to
a call to setForceUse for the AudioSystem::FOR_COMMUNICATION usage.
This was only updating the output device when the current mode
was MODE_IN_CALL. The change consists in changing the routing
also when there is an active stream of type AudioSystem::VOICE_CALL
as we allow that stream type to be used not just for telephony streams,
but for communications in general.
2009-09-25 10:53:27 -07:00
HK Chen
9be14a004c am 31923bb6: qsd8k: audio: remove pre-filling buffers for pcm playback.
Merge commit '31923bb6797ec304d26395acf6d946ab8e44aa6e' into eclair-plus-aosp

* commit '31923bb6797ec304d26395acf6d946ab8e44aa6e':
  qsd8k: audio: remove pre-filling buffers for pcm playback.
2009-09-24 17:23:42 -07:00
HK Chen
c71bbda56f qsd8k: audio: remove pre-filling buffers for pcm playback.
Signed-off-by: Brian Swetland <swetland@google.com>
2009-09-24 17:09:27 -07:00
Dima Zavin
f5f80e0bf4 am afff0dae: copybit: hack to always request premultiplied alpha blend.
Merge commit 'afff0dae18bbea0b39ad151e73ae20cbc11e3edd' into eclair-plus-aosp

* commit 'afff0dae18bbea0b39ad151e73ae20cbc11e3edd':
  copybit: hack to always request premultiplied alpha blend.
2009-09-24 14:53:26 -07:00
Dima Zavin
d24467414b copybit: hack to always request premultiplied alpha blend.
The kernel will only do it for images with an alpha plane.

Change-Id: Idcba41945ed7d17daae0a5bcc48c64a82a49dded
Signed-off-by: Dima Zavin <dima@android.com>
2009-09-24 01:10:49 -07:00
Eric Laurent
3a35434294 am c96a375c: am dc4d5ad6: Fix issue 2118500: Ringer volume control broken after a call is terminated while a ring tone is playing and a BT headset is connected.
Merge commit 'c96a375c6ad3551f1294a5c9b293c464a9b90d76'

* commit 'c96a375c6ad3551f1294a5c9b293c464a9b90d76':
  Fix issue 2118500: Ringer volume control broken after a call is terminated while a ring tone is playing and a BT headset is connected.
2009-09-17 05:28:03 -07:00
Eric Laurent
d51416731c am dc4d5ad6: Fix issue 2118500: Ringer volume control broken after a call is terminated while a ring tone is playing and a BT headset is connected.
Merge commit 'dc4d5ad6482f97e33366f32ad2afd2a304810fb7' into eclair-plus-aosp

* commit 'dc4d5ad6482f97e33366f32ad2afd2a304810fb7':
  Fix issue 2118500: Ringer volume control broken after a call is terminated while a ring tone is playing and a BT headset is connected.
2009-09-15 09:23:40 -07:00
Eric Laurent
3dfe38ac24 Fix issue 2118500: Ringer volume control broken after a call is terminated while a ring tone is playing and a BT headset is connected.
There was a problem in the special management of notifications while incall when using a duplicated output (with A2DP headset connected). When in call, the notifications are not played on both A2DP + speaker outputs but replaced by a tone in the device used for in call audio. When the call ends while a notification or ring tone is playing, the notification was not moved back to duplicated output (A2DP+speaker).
We must also make sure that the code that unmutes notification playback and stops the tone is called before the notification stream is moved back to duplicated output as it handles the volume and routing on hardware output only.
Also fixed a potential problem in active tracks counting when moving DTMF stream from A2DP output to hardware output when changing cal
l state.
2009-09-15 08:22:39 -07:00
Eric Laurent
10f610cbb9 am 91205c41: am 56357dc9: Merge change 23947 into eclair
Merge commit '91205c41286a28a9714e8147e6a996e5dd56cd9a'

* commit '91205c41286a28a9714e8147e6a996e5dd56cd9a':
  Fix issue 2100324: Limit ringtone and notifications volume when a headset is connected.
2009-09-09 13:41:36 -07:00
Dima Zavin
8c7e28b975 am ca152e5e: am c9410082: libcopybit: Fix typo, and the build
Merge commit 'ca152e5eeb74d38e00324b93e22fc70008eca5cf'

* commit 'ca152e5eeb74d38e00324b93e22fc70008eca5cf':
  libcopybit: Fix typo, and the build
2009-09-09 10:59:13 -07:00
Mathias Agopian
0781a2c71e am b243350c: am 3f204e86: QSD8K supports 8x scaling
Merge commit 'b243350cef8544f9755669c2ba9dc482ba5ddcc6'

* commit 'b243350cef8544f9755669c2ba9dc482ba5ddcc6':
  QSD8K supports 8x scaling
2009-09-09 10:59:03 -07:00
Eric Laurent
ca6233b9a4 am 56357dc9: Merge change 23947 into eclair
Merge commit '56357dc98d4b886dcaa7218fe9286eae8bb6b8ad' into eclair-plus-aosp

* commit '56357dc98d4b886dcaa7218fe9286eae8bb6b8ad':
  Fix issue 2100324: Limit ringtone and notifications volume when a headset is connected.
2009-09-08 22:42:23 -07:00
Android (Google) Code Review
0cbca01ed2 Merge change 23947 into eclair
* changes:
  Fix issue 2100324: Limit ringtone and notifications volume when a headset is connected.
2009-09-08 22:40:06 -07:00
Dima Zavin
6e1bc508f6 am c9410082: libcopybit: Fix typo, and the build
Merge commit 'c9410082453abfb6eaaf43e6c97e04711d0751c0' into eclair-plus-aosp

* commit 'c9410082453abfb6eaaf43e6c97e04711d0751c0':
  libcopybit: Fix typo, and the build
2009-09-08 18:56:15 -07:00
Dima Zavin
03f9cb24dd libcopybit: Fix typo, and the build
Change-Id: I4f75e7ee4eff4f6159099de92ae3b4501ad7474a
Signed-off-by: Dima Zavin <dima@android.com>
2009-09-08 18:49:41 -07:00
Mathias Agopian
b18946ebc9 am 3f204e86: QSD8K supports 8x scaling
Merge commit '3f204e86d4a4449fa6196ba26e668d345e24bfb1' into eclair-plus-aosp

* commit '3f204e86d4a4449fa6196ba26e668d345e24bfb1':
  QSD8K supports 8x scaling
2009-09-08 18:07:17 -07:00
Mathias Agopian
f2d52d61f9 QSD8K supports 8x scaling 2009-09-08 16:18:51 -07:00
Jean-Baptiste Queru
b5312d8f23 am 17699b38: merge from open-source master
Merge commit '17699b38df6e87e301d3b33c6955a15c097ecaff'

* commit '17699b38df6e87e301d3b33c6955a15c097ecaff':
2009-09-04 11:06:38 -07:00
Jean-Baptiste Queru
fd17c0c6ed merge from open-source master 2009-09-04 07:51:13 -07:00
Eric Laurent
c9e1cbd5c9 Fix issue 2100324: Limit ringtone and notifications volume when a headset is connected.
Apply the following rules to ring tones and notifications to avoid sound level bursts in user's ears:
- always attenuate ring tones and notifications volume by 6dB
- if music is playing, always limit the volume to current music volume, with a minimum threshold at -36dB so that notification is always perceived.
2009-09-04 02:38:50 -07:00
Jean-Baptiste Queru
2004b50196 merge from donut 2009-09-03 14:13:11 -07:00
Iliyan Malchev
0635134992 am 67bfa63f: Merge change 23733 into eclair
Merge commit '67bfa63fae1e80d8aedd966c6f0a0e823c93f0b1'

* commit '67bfa63fae1e80d8aedd966c6f0a0e823c93f0b1':
  liblights: fix LED transitions when an amber LED is supported
2009-09-02 17:18:34 -07:00
Android (Google) Code Review
4640d3dde0 Merge change 23733 into eclair
* changes:
  liblights: fix LED transitions when an amber LED is supported
2009-09-02 17:14:18 -07:00