Marco Nelissen
7691af9062
Make sure that the event callback thread is Java capable in the simulator.
2010-02-19 15:47:51 -08:00
Andreas Huber
b2d69e3d77
The MediaScanner is way too obsessed with restricting the files to be scanned.
...
related-to-bug: 2326148
2010-02-19 09:55:02 -08:00
Andreas Huber
b52188ee57
Merge "Implement legacy behaviour for MediaPlayer's behaviour of starting from the start of the media on a start() call instead of resuming at the current position, if previously reached the end of the stream. Also properly report number of frames played to audio flinger. Finally, delay spawing the queue thread until actually used."
2010-02-19 08:02:57 -08:00
Andreas Huber
406a18b5b3
Implement legacy behaviour for MediaPlayer's behaviour of starting from the start of the media on a start() call instead of resuming at the current position, if previously reached the end of the stream. Also properly report number of frames played to audio flinger. Finally, delay spawing the queue thread until actually used.
...
related-to-bug: 2453220
2010-02-18 16:45:13 -08:00
Andreas Huber
397afb5464
Fix a race condition in the prefetcher, the source may be shutdown while we're reading data from it.
...
related-to-bug: 2453414
2010-02-18 15:55:30 -08:00
Kenny Root
a6fe26c58f
Merge "Range check in MediaScanner::processDirectory"
2010-02-18 09:36:08 -08:00
Kenny Root
7fe4fe68fa
Range check in MediaScanner::processDirectory
...
Make sure we don't have an empty string before checking if it's a
directory since this string is tainted.
Change-Id: I5eb310ced58c3c64a7af2d11b80326efe5adbcab
2010-02-18 09:26:47 -08:00
Kenny Root
75bbe2b7c7
Merge "Store AudioTrack return value for error condition"
2010-02-18 09:24:42 -08:00
Kenny Root
3cbd62c3ce
Store AudioTrack return value for error condition
...
Store AudioTrack->initCheck()'s return value so we can return it after
the AudioTrack is deleted.
Change-Id: Ie042a7d6a54d7f9afd8a5767cfd167dbeb2e5c04
2010-02-18 09:03:34 -08:00
Andreas Huber
c0178f1097
We are cancelling this event during reset, but the event may have already been dispatched at the time, blocking on the mutex. While it's blocking, reset() cancels the event, we're then unblocked and bad things(tm) happen.
...
related-to-bug: 2451174
2010-02-17 16:01:01 -08:00
Andreas Huber
0a026cff9e
Merge "Disable the TI AMR hardware decoder for audio decoding until its issues are resolved."
2010-02-17 15:06:51 -08:00
Andreas Huber
4727040c5c
Disable the TI AMR hardware decoder for audio decoding until its issues are resolved.
...
related-to-bug: 2450938
2010-02-17 15:04:18 -08:00
Dave Sparks
0551311980
Unhide new SoundPool API's. Bug 2415373.
2010-02-17 13:29:08 -08:00
Dave Sparks
af6fdfa4bb
Merge "Fix logging in SoundPool."
2010-02-17 09:16:43 -08:00
Jaikumar Ganesh
afdf85d435
Merge "Fix issue 2440226: Car dock volume synchronization."
2010-02-17 09:15:50 -08:00
Dave Sparks
7bef5a58f1
Fix logging in SoundPool.
2010-02-17 09:09:24 -08:00
James Dong
68db99ef76
Replace system property retrieval calls with DecoderCapabilities Java API calls.
2010-02-17 00:11:32 -08:00
Dave Sparks
675ee6ac36
Merge "Add SoundPool API to pause and resume all active streams. Bug 2426531."
2010-02-16 16:41:19 -08:00
Dave Sparks
f992cbb9aa
Add SoundPool API to pause and resume all active streams. Bug 2426531.
2010-02-16 16:19:32 -08:00
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