Commit Graph

16234 Commits

Author SHA1 Message Date
Mathias Agopian
fa5ec24a58 am df9556f3: am 23100fd1: Merge "fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig" into kraken 2010-05-17 14:59:13 -07:00
Kenny Root
9d82931d45 am 9c75fa72: am 0b275423: am 8ea405d1: am cfa2de30: Import revised translations 2010-05-17 14:59:03 -07:00
The Android Open Source Project
2d5a0389d7 am b3f26be7: am 453894d8: am 8382068e: merge from open-source master 2010-05-17 14:58:54 -07:00
Jean-Baptiste Queru
258bb1bd03 am 5942ccf0: am 9eb7a722: resolved conflicts for merge of f7fb5331 to kraken 2010-05-17 14:58:44 -07:00
Mathias Agopian
0d1e1dcb2f am 23100fd1: Merge "fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig" into kraken 2010-05-17 14:54:42 -07:00
Kenny Root
29eab9147a am 0b275423: am 8ea405d1: am cfa2de30: Import revised translations 2010-05-17 14:52:51 -07:00
The Android Open Source Project
a543a508dc am 453894d8: am 8382068e: merge from open-source master 2010-05-17 14:52:46 -07:00
Jean-Baptiste Queru
e8cde6f9ba am 9eb7a722: resolved conflicts for merge of f7fb5331 to kraken 2010-05-17 14:52:21 -07:00
Mathias Agopian
60300f6d3b Merge "fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig" into kraken 2010-05-17 14:49:36 -07:00
Mathias Agopian
04aed2149d fix a crasher in our EGL wrapper when attrib_list is NULL in eglChooseConfig
the EGL specification states that this should be treated as though it was
an empty list terminated with EGL_NONE.

Change-Id: I294104370a86b5e5c34c7bcf15c5459eab464631
2010-05-17 14:45:43 -07:00
Kenny Root
57e629f549 am 8ea405d1: am cfa2de30: Import revised translations
Merge commit '8ea405d196c8b536047d961801bb2b6c18a3ea2a' into kraken

* commit '8ea405d196c8b536047d961801bb2b6c18a3ea2a':
  Import revised translations
2010-05-17 13:53:44 -07:00
The Android Open Source Project
0b4c28498d am 8382068e: merge from open-source master
Merge commit '8382068ef2d385183f090373f3b0c6026bd56a99' into kraken

* commit '8382068ef2d385183f090373f3b0c6026bd56a99':
  Updated RGB LED test cases
2010-05-17 13:53:35 -07:00
Jean-Baptiste Queru
de0076c778 resolved conflicts for merge of f7fb5331 to kraken
Change-Id: I61258dd7c7e52a6251c1d9499e113401ff375b20
2010-05-17 13:50:32 -07:00
Kenny Root
b118f139f4 am cfa2de30: Import revised translations
Merge commit 'cfa2de303e58b971e334363356d29601e61d11c8' into froyo-plus-aosp

* commit 'cfa2de303e58b971e334363356d29601e61d11c8':
  Import revised translations
2010-05-17 11:37:35 -07:00
The Android Open Source Project
ba7718b979 merge from open-source master
Change-Id: I139c349b80b2cecfbdc30bd697cba099740293d9
2010-05-17 10:38:00 -07:00
Eric Laurent
6bab93f90f am f62b6ff9: am eb8f850d: Fix issue 2553359: Pandora does not work well with Passion deskdock / Cardock. 2010-05-17 09:22:01 -07:00
Chung-yih Wang
5eded672dd am c7163cbf: am 533844d9: am c7388e35: am 5f1beda1: Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo 2010-05-17 09:21:38 -07:00
Dianne Hackborn
468fb23bd8 am 36bc4be0: am e0a19573: am 39c31bba: am aa77de13: Fix issue #2686193: Can\'t move apps to SD card 2010-05-17 09:21:19 -07:00
Wu-cheng Li
678bd9df62 am 8dc80423: am ae7ca4c3: Fix build error. 2010-05-17 09:21:13 -07:00
Wu-cheng Li
5f1c1d360f am a3b5ff07: am e339c5ed: Add camera focus distances API. 2010-05-17 09:21:03 -07:00
Dirk Dougherty
39841775c4 am cef60007: am aef87aa9: am c6b7a2d7: am d1e9d590: Doc change: add sizes/sums for sdk/ndk/adt packages. 2010-05-17 09:20:56 -07:00
Mathias Agopian
7a9bdeb4f9 am 2ff19fa9: am 4606d5dd: Merge "fix uninitialized variable in DisplayHardware" into kraken 2010-05-17 09:20:49 -07:00
Jean-Baptiste Queru
0e08624ad2 Merge "Updated RGB LED test cases" 2010-05-17 09:12:43 -07:00
The Android Open Source Project
5a64b6daec merge from open-source master
Change-Id: Ia0201ec7be4c112569b8775429d1c9674eb3b661
2010-05-17 08:56:54 -07:00
Eric Laurent
8beed593d5 am eb8f850d: Fix issue 2553359: Pandora does not work well with Passion deskdock / Cardock. 2010-05-17 03:27:50 -07:00
Eric Laurent
4edfe75018 Fix issue 2553359: Pandora does not work well with Passion deskdock / Cardock.
The problem is due to a too big difference between the buffer size used at the hardware interface and at the A2DP interface.
When no resampling occurs we don't notice problems but the timing is very tight. As soon as resampling is activated, the AudioTrack underruns.
This is because the AudioTrack buffers are not resized when moving the AudioTrack from hardware to A2DP output.
The AudioTrack buffers are calculated based on a hardware output buffer size of 3072 bytes. Which is much less than the A2DP output buffer size (10240).

The solution consists in creating new tracks with new buffers in AudioFlinger when the A2DP output is opened
instead of just transfering active tracks from hardware output mixer thread to the new A2DP output mixer thread.
To avoid synchronization issues between mixer threads and client processes, this is done by invalidating tracks
by setting a flag in their control block and having AudioTrack release the handle on this track (IAudioTrack)
and create a new IAudioTrack when this flag is detected next time obtainBuffer() or start() is executed.

AudioFlinger modifications:
- invalidate the tracks when setStreamOutput() is called
- make sure that notifications of output opening/closing and change of stream type to output mapping are sent synchronously to client process.
This is necessary so that AudioSystem has the new stream to output mapping when the AudioTrack detects the invalidate flag in the client process.
Previously their were sent when the corresponding thread loop was executed.

AudioTrack modifications:
- move frame count calculation and verification from set() to createTrack() so that is is updated every time a new IAudioTrack is created.
- detect track invalidate flag in obtainBuffer() and start() and create a new IAudioTrack.

AudioTrackShared modifications
- group all flags (out, flowControlFlag, forceReady...) into a single bit filed to save space.

Change-Id: I9ac26b6192230627d35084e1449640caaf7d56ee
2010-05-17 02:23:47 -07:00
Romain Guy
9100be5973 Merge "Fixing indeterminate progress bar animation state." 2010-05-15 12:34:05 -07:00
Chung-yih Wang
e0c310a900 am 533844d9: am c7388e35: am 5f1beda1: Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo 2010-05-14 23:20:07 -07:00
Chung-yih Wang
018ad09742 am c7388e35: am 5f1beda1: Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo
Merge commit 'c7388e3541c9f1d64dd13fc2de49ff77d8993fa5' into kraken

* commit 'c7388e3541c9f1d64dd13fc2de49ff77d8993fa5':
  Make the SSID field of WifiConfiguration consistent with API description.
2010-05-14 23:18:31 -07:00
Chung-yih Wang
74368e0bb6 am 5f1beda1: Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo
Merge commit '5f1beda18fc7709c2e61ace33607513770faf115' into froyo-plus-aosp

* commit '5f1beda18fc7709c2e61ace33607513770faf115':
  Make the SSID field of WifiConfiguration consistent with API description.
2010-05-14 23:16:31 -07:00
Dianne Hackborn
22e5f04152 am e0a19573: am 39c31bba: am aa77de13: Fix issue #2686193: Can\'t move apps to SD card 2010-05-14 23:15:06 -07:00
Chung-yih Wang
41613ed3bf Merge "Make the SSID field of WifiConfiguration consistent with API description." into froyo 2010-05-14 23:15:04 -07:00
Dianne Hackborn
ff829f9096 am 39c31bba: am aa77de13: Fix issue #2686193: Can\'t move apps to SD card
Merge commit '39c31bbaf9bb07365a4b63144cdf625483851a08' into kraken

* commit '39c31bbaf9bb07365a4b63144cdf625483851a08':
  Fix issue #2686193: Can't move apps to SD card
2010-05-14 23:13:30 -07:00
Dianne Hackborn
fdcc3559ac am aa77de13: Fix issue #2686193: Can\'t move apps to SD card
Merge commit 'aa77de1348cbda3d5348b15734ab141cb9c7759c' into froyo-plus-aosp

* commit 'aa77de1348cbda3d5348b15734ab141cb9c7759c':
  Fix issue #2686193: Can't move apps to SD card
2010-05-14 23:11:33 -07:00
Wu-cheng Li
902e2248cc am ae7ca4c3: Fix build error. 2010-05-14 22:10:36 -07:00
Wu-cheng Li
edce616a62 am e339c5ed: Add camera focus distances API. 2010-05-14 21:43:33 -07:00
Jeff Hamilton
e7dd3adaf9 Merge "Modified libdrm to support SuperH platform" 2010-05-14 19:36:40 -07:00
Dirk Dougherty
5efcd31a72 am aef87aa9: am c6b7a2d7: am d1e9d590: Doc change: add sizes/sums for sdk/ndk/adt packages. 2010-05-14 18:45:11 -07:00
Dirk Dougherty
2669e12fcc am c6b7a2d7: am d1e9d590: Doc change: add sizes/sums for sdk/ndk/adt packages.
Merge commit 'c6b7a2d704b6196c2f578302af607d58b0b85e4b' into kraken

* commit 'c6b7a2d704b6196c2f578302af607d58b0b85e4b':
  Doc change: add sizes/sums for sdk/ndk/adt packages.
2010-05-14 18:43:45 -07:00
Dirk Dougherty
42e980e1a0 am d1e9d590: Doc change: add sizes/sums for sdk/ndk/adt packages.
Merge commit 'd1e9d590941303c004459f3d798b26f1bf091535' into froyo-plus-aosp

* commit 'd1e9d590941303c004459f3d798b26f1bf091535':
  Doc change: add sizes/sums for sdk/ndk/adt packages.
2010-05-14 18:42:11 -07:00
Mathias Agopian
ceb2eaf121 am 4606d5dd: Merge "fix uninitialized variable in DisplayHardware" into kraken 2010-05-14 18:37:04 -07:00
Mathias Agopian
0d184f0169 Merge "fix uninitialized variable in DisplayHardware" into kraken 2010-05-14 18:35:34 -07:00
Mathias Agopian
0d4e00dd6a fix uninitialized variable in DisplayHardware
this fixes the issue where the display is all messed-up sometimes.

Change-Id: I20be91b5166bfff0c6d353a777351842c9df8e95
2010-05-14 18:33:30 -07:00
Jason Sams
550aef65b7 Merge "Delete legacy setDefine API." 2010-05-14 16:53:05 -07:00
Andreas Huber
dab466db0b am bc30d1d8: am 5d75a181: am a5cd816c: am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking. 2010-05-14 16:34:24 -07:00
Andreas Huber
d80f5067d5 am 5d75a181: am a5cd816c: am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking. 2010-05-14 16:32:43 -07:00
Jason Sams
d53c35d4f6 Merge "Delete old createFromClass methods. It no longer makes sense to create type info from Java since this cannot be exported to scripts. The new flow is in the opposite direction." 2010-05-14 16:30:50 -07:00
Andreas Huber
4843fbd206 am a5cd816c: am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
Merge commit 'a5cd816c720ed87b91a33aa5d000a0d308c74453' into kraken

* commit 'a5cd816c720ed87b91a33aa5d000a0d308c74453':
  Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
2010-05-14 16:30:29 -07:00
Andreas Huber
2188a17156 am eb9128f9: Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
Merge commit 'eb9128f9b0ee660504621381fd96f82d5bf8a3fd' into froyo-plus-aosp

* commit 'eb9128f9b0ee660504621381fd96f82d5bf8a3fd':
  Fix sampleTable instantiation, this makes sure that the sample table refers to the custom datasource that caches the metadata to prevent needless seeking.
2010-05-14 16:28:09 -07:00
Nick Kralevich
c8d232b4da Merge "resolved conflicts for merge of cbf26fd3 to master" 2010-05-14 16:11:43 -07:00