1247 Commits

Author SHA1 Message Date
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
bb3e1e3b8d am 14f89404: Fix media player decode function. Bug 2317821.
Merge commit '14f8940472217e8b0164d8f213679710d623d528' into eclair-plus-aosp

* commit '14f8940472217e8b0164d8f213679710d623d528':
  Fix media player decode function. Bug 2317821.
2009-12-09 21:21:58 -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
Jean-Michel Trivi
ed3e7ab3bf am 86ed86d2: Merge change I0f73439a into eclair
Merge commit '86ed86d2260932bdf2217b1d8431ac9e04d47534' into eclair-plus-aosp

* commit '86ed86d2260932bdf2217b1d8431ac9e04d47534':
  Partially fix bug 2111240 Detect docking / undocking event by reporting
2009-12-09 11:50:36 -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
Andreas Huber
26fa3dcb9d am 81a005d0: am 73abc2ea: Merge change I9c6e1f90 into eclair-mr2
Merge commit '81a005d070bec3a756f5caa48cdda25bcc732ce9'

* commit '81a005d070bec3a756f5caa48cdda25bcc732ce9':
  Initial check in of stagefright software AAC decoder based on PV source code.
2009-12-07 18:34:13 -08:00
Eric Laurent
feab08b901 am e30bae7f: am b8341cf7: am 6d42d806: Merge change I9cc489a2 into eclair
Merge commit 'e30bae7f8ef0489788c155ae44d9a57beca1acf5'

* commit 'e30bae7f8ef0489788c155ae44d9a57beca1acf5':
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
2009-12-07 18:33:53 -08:00
Yu Shan Emily Lau
e204b9f84f am a3d15d3b: am 8e6d79e2: am 8445f367: Merge change Ibb9b1de1 into eclair
Merge commit 'a3d15d3b01146df40e72d67b79dd1f9368398f23'

* commit 'a3d15d3b01146df40e72d67b79dd1f9368398f23':
  1) Capture the start memory before the test started
2009-12-07 18:33:38 -08:00
Andreas Huber
1d44bea444 am f553a584: am 5921fb51: Merge change I91eb0354 into eclair-mr2
Merge commit 'f553a58425c66a990dbc5f4579c976a0636fc573'

* commit 'f553a58425c66a990dbc5f4579c976a0636fc573':
  Change OMXCodec::Create to return an sp<MediaSource> instead of an sp<OMXCodec>, this is more general and does not sacrifice any functionality as the remaining OMXCodec APIs are not meant to be public anyway.
2009-12-07 18:32:57 -08:00
Andreas Huber
c532c95695 Note to self: Don't reverse the arguments to fseek(o)... 2009-12-07 16:41:57 -08:00
Andreas Huber
8f65821453 Minor tweaks to the mp3 and aac software decoders, propagate duration to output format. 2009-12-07 16:41:16 -08:00
Andreas Huber
b16e554371 Fix the mp3 audio extractor that would occasionally return an invalid frame directly after a seek. 2009-12-07 16:40:29 -08:00
Andreas Huber
c4349603b9 am 5d676ad5: am 52f410e2: Merge change Ifef6435a into eclair-mr2
Merge commit '5d676ad5d94c3d4f831c2084012f955fe56a8af8'

* commit '5d676ad5d94c3d4f831c2084012f955fe56a8af8':
  Enable proper cleanup of OMX nodes managed through stagefright.
2009-12-07 14:53:27 -08:00
Andreas Huber
9659126db1 am 247003be: Merge change I250f2433 into eclair-mr2
Merge commit '247003be9ea69928e35ce2f1bd1fab652920a3f2' into eclair-mr2-plus-aosp

* commit '247003be9ea69928e35ce2f1bd1fab652920a3f2':
  Initial checkin of stagefright MP3 audio decoder based on PV source code.
2009-12-07 14:36:01 -08:00
Android (Google) Code Review
247003be9e Merge change I250f2433 into eclair-mr2
* changes:
  Initial checkin of stagefright MP3 audio decoder based on PV source code.
2009-12-07 14:31:46 -08:00
Andreas Huber
250f2433c6 Initial checkin of stagefright MP3 audio decoder based on PV source code. 2009-12-07 14:22:35 -08:00
Dave Sparks
610e50ccd2 am 62679112: Merge change I3c256cf3 into eclair-mr2
Merge commit '62679112a2ac98f6b73e9a5f6e92b3cb5728703c' into eclair-mr2-plus-aosp

* commit '62679112a2ac98f6b73e9a5f6e92b3cb5728703c':
  More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback.
2009-12-07 13:04:56 -08:00
Dave Sparks
3c256cf321 More SoundPool cleanup. Remove mSoundPoolRef and unused notify callback. 2009-12-07 13:01:01 -08:00
Dave Sparks
5ac5cd7300 am 9d5b7aca: Merge change Ic0e3ddf8 into eclair-mr2
Merge commit '9d5b7aca742f44e4b16db66a4a372eb71325470f' into eclair-mr2-plus-aosp

* commit '9d5b7aca742f44e4b16db66a4a372eb71325470f':
  Remove unused Java object reference in native SoundPool code.
2009-12-07 12:50:55 -08:00
Dave Sparks
c0e3ddf8f2 Remove unused Java object reference in native SoundPool code. 2009-12-07 12:36:20 -08:00
Andreas Huber
2109e68011 am 8c7ab034: Fixing the build, only instantiate the software aac decoder in full stagefright builds.
Merge commit '8c7ab034692eea550b97bebd7746e1a82735bbbd' into eclair-mr2-plus-aosp

* commit '8c7ab034692eea550b97bebd7746e1a82735bbbd':
  Fixing the build, only instantiate the software aac decoder in full stagefright builds.
2009-12-07 11:30:48 -08:00
Andreas Huber
8c7ab03469 Fixing the build, only instantiate the software aac decoder in full stagefright builds. 2009-12-07 11:23:44 -08:00
Andreas Huber
81a005d070 am 73abc2ea: Merge change I9c6e1f90 into eclair-mr2
Merge commit '73abc2ea4c4e23a5561bbf769b4b74d1faa38e4a' into eclair-mr2-plus-aosp

* commit '73abc2ea4c4e23a5561bbf769b4b74d1faa38e4a':
  Initial check in of stagefright software AAC decoder based on PV source code.
2009-12-07 11:06:20 -08:00
Eric Laurent
e30bae7f8e am b8341cf7: am 6d42d806: Merge change I9cc489a2 into eclair
Merge commit 'b8341cf7c8b0b4af14ea87a4c2335e28865adff1' into eclair-mr2-plus-aosp

* commit 'b8341cf7c8b0b4af14ea87a4c2335e28865adff1':
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
2009-12-07 11:06:15 -08:00
Yu Shan Emily Lau
a3d15d3b01 am 8e6d79e2: am 8445f367: Merge change Ibb9b1de1 into eclair
Merge commit '8e6d79e2b570d73b620a4f5a98d461329e5f2477' into eclair-mr2-plus-aosp

* commit '8e6d79e2b570d73b620a4f5a98d461329e5f2477':
  1) Capture the start memory before the test started
2009-12-07 11:06:09 -08:00
Eric Laurent
a4dde1da5f am 6d42d806: Merge change I9cc489a2 into eclair
Merge commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7' into eclair-plus-aosp

* commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7':
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
2009-12-07 11:03:42 -08:00
Android (Google) Code Review
73abc2ea4c Merge change I9c6e1f90 into eclair-mr2
* changes:
  Initial check in of stagefright software AAC decoder based on PV source code.
2009-12-07 11:03:28 -08:00
Eric Laurent
b8341cf7c8 am 6d42d806: Merge change I9cc489a2 into eclair
Merge commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7' into eclair-mr2

* commit '6d42d80653f2c41f3e72a878a1d9a6f9693b89f7':
  Fix issue 2304669: VoiceIME: starting and canceling voice IME yields persistent "error 8" state on future attempts and breaks voice search.
2009-12-07 11:03:17 -08:00
Andreas Huber
dacaa73ae5 Initial check in of stagefright software AAC decoder based on PV source code. 2009-12-07 11:02:28 -08:00