1529 Commits

Author SHA1 Message Date
Andreas Huber
9f56485823 Merge "If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection." 2010-02-16 14:41:14 -08:00
Andreas Huber
67e8dfb257 Merge "Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources." 2010-02-16 14:36:45 -08:00
Andreas Huber
2ae13a9c48 Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources.
related-to- bug: 2413024
2010-02-16 14:24:05 -08:00
Andreas Huber
57f790f96d If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection.
related-to-bug: 2442307
2010-02-16 14:00:36 -08:00
Andreas Huber
cf06dd0a8a Merge "The AMRSource failed to properly release a media buffer in case of error." 2010-02-16 11:48:33 -08:00
James Dong
62ed7a6d4a Merge "Support decoder queries from media profiles xml configuration file" 2010-02-16 10:59:13 -08:00
Andreas Huber
bc8342721d The AMRSource failed to properly release a media buffer in case of error.
related-to-bug: 2441307
2010-02-16 10:46:02 -08:00
Eric Laurent
9ce379aef1 Fix issue 2440226: Car dock volume synchronization.
AudioService now sends intent AudioManager.VOLUME_CHANGED_ACTION  when the volume is changed
on any stream type (previously the intent was sent only for STREAM_BLUETOOTH_SCO stream).
A new extra for previous volume value is added to the intent.
2010-02-16 06:40:20 -08:00
James Dong
d32fba411f Support decoder queries from media profiles xml configuration file 2010-02-12 18:15:45 -08:00
Gloria Wang
190dd57fb8 Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)" 2010-02-12 17:04:29 -08:00
Gloria Wang
8d00b53cc4 Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression) 2010-02-12 16:46:40 -08:00
Andreas Huber
bab28017a5 Merge "Preserve a preview frame to be restored after resuming the playback session." 2010-02-12 14:52:41 -08:00
Andreas Huber
7b73cfcc75 Preserve a preview frame to be restored after resuming the playback session.
related-to-bug: 2231576
2010-02-12 14:41:51 -08:00
Andreas Huber
acc63512e9 Merge "New API on java's MediaPlayer to suspend/resume a session." 2010-02-12 13:21:22 -08:00
Andreas Huber
fbb3885024 New API on java's MediaPlayer to suspend/resume a session.
related-to-bug: 2231576
2010-02-12 12:44:10 -08:00
Andreas Huber
ba7ec917ea Squashed commit of the following:
commit 427e927298449826bb5b98327b0c05957aa051e6
Author: Andreas Huber <andih@google.com>
Date:   Fri Feb 12 10:39:07 2010 -0800

    Fixing a race condition in AwesomePlayer and support for suspend/resume.

commit 96201a04b6657b6bd69ec6100f4de66aebcaa0b4
Author: Andreas Huber <andih@google.com>
Date:   Fri Feb 12 10:36:15 2010 -0800

    Protect MPEG4Source's sanity by properly locking.

related-to-bug: 2231576
2010-02-12 12:43:34 -08:00
Eric Laurent
6015a97154 Fix issue 2418668: AudioManager isWiredHeadsetOn() always returns false for headset without mic. 2010-02-12 07:41:14 -08:00
Marco Nelissen
8b799a323c Merge "Add support for "album artist" tag." 2010-02-11 13:43:40 -08:00
Marco Nelissen
c5d5ee34d7 Add support for "album artist" tag. 2010-02-11 13:32:04 -08:00
Mathias Agopian
000479f9e3 split libsurfaceflinger_client and libcamera_client out of libui 2010-02-11 13:16:22 -08:00
Andreas Huber
28a5dc229e Merge "Support for rendering through an overlay on the droid even if a software renderer is active." 2010-02-11 12:44:03 -08:00
Andreas Huber
4ab5a6fe78 Support for rendering through an overlay on the droid even if a software renderer is active. 2010-02-11 11:03:01 -08:00
Ray Chen
49ffc0ff72 Revise ThumbnailUtils API. 2010-02-11 10:26:34 +08:00
Andreas Huber
aa82768b8c Merge "Fixing AMR recording code." 2010-02-10 15:16:09 -08:00
Andreas Huber
259b7c1c1b Fixing AMR recording code. 2010-02-10 15:04:31 -08:00
Marco Nelissen
d2e6af66ce Merge "Do autodetection even if no locale was specified, and use the detected encoding if it is unambiguous." 2010-02-10 14:24:44 -08:00
Andreas Huber
4c48cb72ff Merge "Properly detect Adobe's .f4v file format as an mp4 ISO compliant file." 2010-02-10 11:16:14 -08:00
Andreas Huber
01830a0814 Properly detect Adobe's .f4v file format as an mp4 ISO compliant file. 2010-02-10 11:08:15 -08:00
Andreas Huber
7d57413794 TI does not want the hardware H.263 decoder to be enabled. 2010-02-10 10:56:07 -08:00
Marco Nelissen
b45b0845a6 Do autodetection even if no locale was specified, and use the
detected encoding if it is unambiguous.
2010-02-10 10:36:02 -08:00
Andreas Huber
6ed937ebe9 Implementation of stagefright-enabled MediaPlayerService::decode functionality
related-to-bug: 2359268
2010-02-10 10:20:34 -08:00
Marco Nelissen
bfcb22a207 Don't create a genre in the database for genre code 255 (unknown) 2010-02-10 09:31:12 -08:00
Andreas Huber
4eaef139cf Merge "Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time..." 2010-02-09 14:28:32 -08:00
Andreas Huber
ffdf4782d4 Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time...
related-to-bug: 2431117
2010-02-09 14:27:33 -08:00
Andreas Huber
0dd4df27ad Merge "If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting." 2010-02-09 14:23:30 -08:00
Dianne Hackborn
632aa76422 Merge "New external storage APIs." 2010-02-09 14:22:29 -08:00
Andreas Huber
42c444a8b1 If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting. 2010-02-09 14:21:44 -08:00
Dianne Hackborn
e83cefcef0 New external storage APIs.
This implements the spec for external storage organization, and
properly reflects how the media scanner organizes the files it finds.

Also includes package manager support for removing app private
files from external storage when the application is uninstalled.

For the new APIs and paths, the main place to look is Environment
and Context.
2010-02-09 14:20:55 -08:00
Marco Nelissen
fe3b8e9fe5 Support the disc number and custom genre tags for mp4. 2010-02-09 14:15:38 -08:00
Andreas Huber
e33813dfab Merge "A little less verbosity in stagefright and special treatment for the error state while shutting down." 2010-02-09 12:10:31 -08:00
Andreas Huber
4a9375ef2a A little less verbosity in stagefright and special treatment for the error state while shutting down. 2010-02-09 11:54:33 -08:00
Andreas Huber
fdcba38ccf Merge "During shutdown, don't loop forever on a state transition to OMX_StateInvalid." 2010-02-09 10:04:57 -08:00
Marco Nelissen
e56b7e6c35 Use bswap_16 instead of swap16, because swap16 is not available in glibc 2010-02-09 07:40:51 -08:00
Andreas Huber
9be54d400d ID3v1 tag's strings are ISO8859, not UTF-8, so do the proper conversion when extracting metadata.
related-to-bug: 2399408
2010-02-08 16:46:27 -08:00
Andreas Huber
ba53068245 Merge "Properly implement asynchronous preparation of media playback." 2010-02-08 16:39:24 -08:00
Marco Nelissen
7499ef3e68 Merge "Skip the endianness marker when converting UCS-2 to UTF-8, since it ends up in the UTF-8 string otherwise." 2010-02-08 16:30:14 -08:00
Andreas Huber
6be780ebd4 Properly implement asynchronous preparation of media playback.
related-to-bug: 2413002
2010-02-08 16:23:47 -08:00
Marco Nelissen
3887ac7eb4 Skip the endianness marker when converting UCS-2 to UTF-8, since it
ends up in the UTF-8 string otherwise.
2010-02-08 16:16:54 -08:00
Gloria Wang
7723c94d32 Merge "Use Tremor for sim-eng, and Tremolo for other targets." 2010-02-08 15:16:07 -08:00
Marco Nelissen
655306f8a8 Add support for the TPOS/TPA (disc number) id3 tag. 2010-02-08 14:50:19 -08:00