1025 Commits

Author SHA1 Message Date
Andreas Huber
b99349e1d3 am e86a37c6: am 8eac1637: Merge change I85adf5e5 into eclair-mr2
Merge commit 'e86a37c6bfb0a0aa9ce871fdfc9e884ab3ddd1d8'

* commit 'e86a37c6bfb0a0aa9ce871fdfc9e884ab3ddd1d8':
  Propagate duration from input to output only if available, support multiple full frames of audio per input buffer in AMR/AAC decoders.
2009-12-11 13:06:05 -08:00
Andreas Huber
e86a37c6bf am 8eac1637: Merge change I85adf5e5 into eclair-mr2
Merge commit '8eac1637b0f8ec7a2417eb53ebe56bb64c3b2b23' into eclair-mr2-plus-aosp

* commit '8eac1637b0f8ec7a2417eb53ebe56bb64c3b2b23':
  Propagate duration from input to output only if available, support multiple full frames of audio per input buffer in AMR/AAC decoders.
2009-12-11 13:01:12 -08:00
Andreas Huber
85adf5e562 Propagate duration from input to output only if available, support multiple full frames of audio per input buffer in AMR/AAC decoders. 2009-12-11 11:27:02 -08:00
Andreas Huber
97f2578e8c am ea113f30: am d8729c59: Removing an unused header file and a stale forward declaration. Also handling one more nalType as a no-op.
Merge commit 'ea113f307d459577e9ed3ea2cbbbb77c92235a6e'

* commit 'ea113f307d459577e9ed3ea2cbbbb77c92235a6e':
  Removing an unused header file and a stale forward declaration. Also handling one more nalType as a no-op.
2009-12-11 10:11:43 -08:00
Andreas Huber
ea113f307d am d8729c59: Removing an unused header file and a stale forward declaration. Also handling one more nalType as a no-op.
Merge commit 'd8729c597b9fe8cbdbf145bea0dbaec4f075015b' into eclair-mr2-plus-aosp

* commit 'd8729c597b9fe8cbdbf145bea0dbaec4f075015b':
  Removing an unused header file and a stale forward declaration. Also handling one more nalType as a no-op.
2009-12-11 10:06:30 -08:00
Andreas Huber
d8729c597b Removing an unused header file and a stale forward declaration. Also handling one more nalType as a no-op. 2009-12-11 09:58:36 -08:00
Andreas Huber
0a57ac4b4b am 554647e9: am 6ddcf01a: remote destructors are not synchronously executed by the binder...
Merge commit '554647e963432d34c41e69e4c6c0c6e4cb08e80e'

* commit '554647e963432d34c41e69e4c6c0c6e4cb08e80e':
  remote destructors are not synchronously executed by the binder...
2009-12-11 09:14:31 -08:00
Andreas Huber
fe7923aa92 am 63b3a29d: am c1d5c921: Fix seek-on-startup behaviour in AwesomePlayer.
Merge commit '63b3a29d4fe85d709403c1030d221d97f89b9744'

* commit '63b3a29d4fe85d709403c1030d221d97f89b9744':
  Fix seek-on-startup behaviour in AwesomePlayer.
2009-12-11 09:14:22 -08:00
Andreas Huber
2cdbc03e47 am 9ec965e4: am b78599b7: Merge change Ia67d5388 into eclair-mr2
Merge commit '9ec965e4fb242c9c570e43980425b8f275eb2159'

* commit '9ec965e4fb242c9c570e43980425b8f275eb2159':
  remote destructors are not synchronously executed by the binder...
2009-12-11 09:14:07 -08:00
Andreas Huber
554647e963 am 6ddcf01a: remote destructors are not synchronously executed by the binder...
Merge commit '6ddcf01a9033ee7ff4230efd117d7bcc8b5b3cc1' into eclair-mr2-plus-aosp

* commit '6ddcf01a9033ee7ff4230efd117d7bcc8b5b3cc1':
  remote destructors are not synchronously executed by the binder...
2009-12-11 09:09:29 -08:00
Andreas Huber
63b3a29d4f am c1d5c921: Fix seek-on-startup behaviour in AwesomePlayer.
Merge commit 'c1d5c921d62475fb0b9eec46ce1a9278c96fd9e2' into eclair-mr2-plus-aosp

* commit 'c1d5c921d62475fb0b9eec46ce1a9278c96fd9e2':
  Fix seek-on-startup behaviour in AwesomePlayer.
2009-12-11 09:06:43 -08:00
Andreas Huber
9ec965e4fb am b78599b7: Merge change Ia67d5388 into eclair-mr2
Merge commit 'b78599b738b7a66f5bd1bed815e9cb433b2fe740' into eclair-mr2-plus-aosp

* commit 'b78599b738b7a66f5bd1bed815e9cb433b2fe740':
  remote destructors are not synchronously executed by the binder...
2009-12-11 09:06:36 -08:00
Andreas Huber
6ddcf01a90 remote destructors are not synchronously executed by the binder... 2009-12-11 09:04:55 -08:00
Andreas Huber
c1d5c921d6 Fix seek-on-startup behaviour in AwesomePlayer. 2009-12-11 09:01:32 -08:00
Andreas Huber
2a12359515 am fd672a8a: am fd499830: Merge change I595c2d60 into eclair-mr2
Merge commit 'fd672a8a8cde8d1d22878e966e8f10470966541f'

* commit 'fd672a8a8cde8d1d22878e966e8f10470966541f':
  Initial checkin of software AVC video decoder based on PV source code.
2009-12-11 08:50:26 -08:00
Android (Google) Code Review
b78599b738 Merge change Ia67d5388 into eclair-mr2
* changes:
  remote destructors are not synchronously executed by the binder...
2009-12-11 08:48:47 -08:00
Andreas Huber
fd672a8a8c am fd499830: Merge change I595c2d60 into eclair-mr2
Merge commit 'fd49983009e9e68de5d3f7f5c93689c8da1a9b6c' into eclair-mr2-plus-aosp

* commit 'fd49983009e9e68de5d3f7f5c93689c8da1a9b6c':
  Initial checkin of software AVC video decoder based on PV source code.
2009-12-11 08:43:01 -08:00
Andreas Huber
a67d538881 remote destructors are not synchronously executed by the binder... 2009-12-11 08:39:42 -08:00
Android (Google) Code Review
fd49983009 Merge change I595c2d60 into eclair-mr2
* changes:
  Initial checkin of software AVC video decoder based on PV source code.
2009-12-11 08:39:00 -08:00
Dave Sparks
8bc1800dba am f63779b3: am 9472b35b: am 14f89404: Fix media player decode function. Bug 2317821.
Merge commit 'f63779b392275265b3b13728c78a0a5f4ac10c01'

* commit 'f63779b392275265b3b13728c78a0a5f4ac10c01':
  Fix media player decode function. Bug 2317821.
2009-12-10 23:46:11 -08:00
Dave Sparks
f63779b392 am 9472b35b: am 14f89404: Fix media player decode function. Bug 2317821.
Merge commit '9472b35ba190b24f811ff7b025a93b2023dbd58d' into eclair-mr2-plus-aosp

* commit '9472b35ba190b24f811ff7b025a93b2023dbd58d':
  Fix media player decode function. Bug 2317821.
2009-12-10 18:08:10 -08:00
Dave Sparks
9472b35ba1 am 14f89404: Fix media player decode function. Bug 2317821.
Merge commit '14f8940472217e8b0164d8f213679710d623d528' into eclair-mr2

* commit '14f8940472217e8b0164d8f213679710d623d528':
  Fix media player decode function. Bug 2317821.
2009-12-10 17:57:10 -08:00
Jean-Michel Trivi
595acee989 am 899858a3: am 6608bd0d: am 86ed86d2: Merge change I0f73439a into eclair
Merge commit '899858a39647803c0cb506d2320fdaf2e4d3b8b9'

* commit '899858a39647803c0cb506d2320fdaf2e4d3b8b9':
  Partially fix bug 2111240 Detect docking / undocking event by reporting
2009-12-10 17:15:22 -08:00
Jean-Michel Trivi
899858a396 am 6608bd0d: am 86ed86d2: Merge change I0f73439a into eclair
Merge commit '6608bd0d3af3f9c365b73f8b19d9ec0b7d5ee70b' into eclair-mr2-plus-aosp

* commit '6608bd0d3af3f9c365b73f8b19d9ec0b7d5ee70b':
  Partially fix bug 2111240 Detect docking / undocking event by reporting
2009-12-10 16:58:35 -08:00
Jean-Michel Trivi
6608bd0d3a am 86ed86d2: Merge change I0f73439a into eclair
Merge commit '86ed86d2260932bdf2217b1d8431ac9e04d47534' into eclair-mr2

* commit '86ed86d2260932bdf2217b1d8431ac9e04d47534':
  Partially fix bug 2111240 Detect docking / undocking event by reporting
2009-12-10 16:46:13 -08:00
Andreas Huber
4a0ec3fda9 Initial checkin of software AVC video decoder based on PV source code. 2009-12-10 14:43:44 -08:00
Andreas Huber
eab53392ae am b95ea9ec: am 6ae24d93: Merge change I3c01bb62 into eclair-mr2
Merge commit 'b95ea9ecb2a7b0028c02e096589397e00fdef67a'

* commit 'b95ea9ecb2a7b0028c02e096589397e00fdef67a':
  Adding copyright headers to recently introduced decoder source files.
2009-12-10 14:42:38 -08:00
Andreas Huber
b9015da87c am 5c5c85a5: am 987e7fb2: Merge change I9a275773 into eclair-mr2
Merge commit '5c5c85a5050d5512e437be65ec00d3f31b8bf004'

* commit '5c5c85a5050d5512e437be65ec00d3f31b8bf004':
  Initial check in of AMR (NB and WB) decoders based on PV source code.
2009-12-10 14:42:28 -08:00
Andreas Huber
b95ea9ecb2 am 6ae24d93: Merge change I3c01bb62 into eclair-mr2
Merge commit '6ae24d9365e21ac2770f2354cc1631751bffe3e6' into eclair-mr2-plus-aosp

* commit '6ae24d9365e21ac2770f2354cc1631751bffe3e6':
  Adding copyright headers to recently introduced decoder source files.
2009-12-10 12:42:18 -08:00
Android (Google) Code Review
6ae24d9365 Merge change I3c01bb62 into eclair-mr2
* changes:
  Adding copyright headers to recently introduced decoder source files.
2009-12-10 12:37:59 -08:00
Andreas Huber
5c5c85a505 am 987e7fb2: Merge change I9a275773 into eclair-mr2
Merge commit '987e7fb2d43130deb756353ca8f098b0a0a3beeb' into eclair-mr2-plus-aosp

* commit '987e7fb2d43130deb756353ca8f098b0a0a3beeb':
  Initial check in of AMR (NB and WB) decoders based on PV source code.
2009-12-10 12:32:31 -08:00
Andreas Huber
3c01bb627a Adding copyright headers to recently introduced decoder source files. 2009-12-10 12:28:22 -08:00
Andreas Huber
a30d400838 Initial check in of AMR (NB and WB) decoders based on PV source code. 2009-12-10 12:23:55 -08:00
Andreas Huber
0ea7e7f6ac am 30807a45: am 7c55c3f5: Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.
Merge commit '30807a4500fab8b46ee661db2ba99286049a8adc'

* commit '30807a4500fab8b46ee661db2ba99286049a8adc':
  Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.
2009-12-10 07:04:09 -08:00
Andreas Huber
4accf80fa8 am b16cf676: am 6d35d4c2: Merge change Ib16e5543 into eclair-mr2
Merge commit 'b16cf676bd3304bc0c5da4210d689f4e680219b1'

* commit 'b16cf676bd3304bc0c5da4210d689f4e680219b1':
  Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.
2009-12-10 07:03:47 -08:00
Andreas Huber
c860ff22e8 am a42b8f16: am 3f5b2867: Merge change I8f658214 into eclair-mr2
Merge commit 'a42b8f160fb5906638e978a470972d1f50d749ac'

* commit 'a42b8f160fb5906638e978a470972d1f50d749ac':
  Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
2009-12-10 07:03:19 -08:00
Andreas Huber
53513d22a7 am 42be7440: am ee3a2443: Merge change Ic532c956 into eclair-mr2
Merge commit '42be7440ee2a3a360c83802e4e7a2ecf40220eff'

* commit '42be7440ee2a3a360c83802e4e7a2ecf40220eff':
  Note to self: Don't reverse the arguments to fseek(o)...
2009-12-10 07:02:53 -08:00
Dave Sparks
14f8940472 Fix media player decode function. Bug 2317821.
There was a recent change to OpenCORE that broke the MediaPlayer::decode()
function for all OpenCORE supported formats (MP3, AAC, and AMR-NB/WB). The
affect is that SoundPool is unreliable for all of these formats. This patch
changes the logic in the AudioCache object that processes messages from the
media player. The old logic was fragile. This change should make it more
robust against changes.
2009-12-09 20:36:31 -08:00
Andreas Huber
30807a4500 am 7c55c3f5: Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.
Merge commit '7c55c3f5f5997ca572d70ad513099a5af20a23c1' into eclair-mr2-plus-aosp

* commit '7c55c3f5f5997ca572d70ad513099a5af20a23c1':
  Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM.
2009-12-09 15:47:35 -08:00
Andreas Huber
b16cf676bd am 6d35d4c2: Merge change Ib16e5543 into eclair-mr2
Merge commit '6d35d4c2cff4ad411fe7d6fde3fda0467d1016c5' into eclair-mr2-plus-aosp

* commit '6d35d4c2cff4ad411fe7d6fde3fda0467d1016c5':
  Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.
2009-12-09 15:46:43 -08:00
Andreas Huber
a42b8f160f am 3f5b2867: Merge change I8f658214 into eclair-mr2
Merge commit '3f5b28679bb31b8ba8f75a2bf330ec0dc0ea14cc' into eclair-mr2-plus-aosp

* commit '3f5b28679bb31b8ba8f75a2bf330ec0dc0ea14cc':
  Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
2009-12-09 15:46:23 -08:00
Andreas Huber
42be7440ee am ee3a2443: Merge change Ic532c956 into eclair-mr2
Merge commit 'ee3a2443deb39ad9ce65293c045d34b9198cc57a' into eclair-mr2-plus-aosp

* commit 'ee3a2443deb39ad9ce65293c045d34b9198cc57a':
  Note to self: Don't reverse the arguments to fseek(o)...
2009-12-09 15:46:03 -08:00
Andreas Huber
7c55c3f5f5 Make sure to use the hand-tweaked-assembly version of the relevant mp3 code if building for ARM. 2009-12-08 10:07:22 -08:00
Android (Google) Code Review
6d35d4c2cf Merge change Ib16e5543 into eclair-mr2
* changes:
  Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek.
2009-12-08 09:16:08 -08:00
Android (Google) Code Review
3f5b28679b Merge change I8f658214 into eclair-mr2
* changes:
  Minor tweaks to the mp3 and aac software decoders, propagate duration to output format.
2009-12-08 09:16:00 -08:00
Jean-Michel Trivi
6154412ee8 Partially fix bug 2111240 Detect docking / undocking event by reporting
to the AudioPolicyManager a new forced usage AudioSystem::FOR_DOCK
which can take the FORCE_NONE, FORCE_BT_DOCK or FORCE_WIRED_ACCESSORY
values. This CL is complemented by an update of the APM to take into
account the FOR_DOCK usage.
2009-12-07 20:42:52 -08:00
Andreas Huber
169e2bb0fb am 9659126d: am 247003be: Merge change I250f2433 into eclair-mr2
Merge commit '9659126db10f65b6e502b2175d34c75b301fb7e9'

* commit '9659126db10f65b6e502b2175d34c75b301fb7e9':
  Initial checkin of stagefright MP3 audio decoder based on PV source code.
2009-12-07 18:37:46 -08:00
Dave Sparks
e1fb7e9419 am 610e50cc: am 62679112: Merge change I3c256cf3 into eclair-mr2
Merge commit '610e50ccd2a342fbc75e3b30a2057dbca8fb92fd'

* commit '610e50ccd2a342fbc75e3b30a2057dbca8fb92fd':
  More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.
2009-12-07 18:36:00 -08:00
Dave Sparks
1877375cbc am 5ac5cd73: am 9d5b7aca: Merge change Ic0e3ddf8 into eclair-mr2
Merge commit '5ac5cd7300fda7cb80ae0fb3d66594abd4f91939'

* commit '5ac5cd7300fda7cb80ae0fb3d66594abd4f91939':
  Remove unused Java object reference in native SoundPool code.
2009-12-07 18:35:23 -08:00
Andreas Huber
dd3e790141 am 2109e680: am 8c7ab034: Fixing the build, only instantiate the software aac decoder in full stagefright builds.
Merge commit '2109e6801199b10460330027f3537d406b6a0149'

* commit '2109e6801199b10460330027f3537d406b6a0149':
  Fixing the build, only instantiate the software aac decoder in full stagefright builds.
2009-12-07 18:34:41 -08:00