summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do not hold onto the master lock while reading data from the datasource. ↵Andreas Huber2010-01-271-9/+14
| | | | | | This would prevent consumers from reading cached data immediately if it is available. related-to-bug: 2295438
* Merge "Better support for HTTP streaming media content, fixes to the way ↵Andreas Huber2010-01-2710-37/+590
|\ | | | | | | HTTPDataSource streams the data, prefetcher implementation."
| * Better support for HTTP streaming media content, fixes to the way ↵Andreas Huber2010-01-2610-37/+590
| | | | | | | | | | | | HTTPDataSource streams the data, prefetcher implementation. related-to-bug: 2295438
* | Support for audio recording into AMR NB/WB files as well as audio tracks in ↵Andreas Huber2010-01-267-19/+177
|/ | | | | | MPEG4 files. related-to-bug: 2295449
* Merge "Fix issue 2378022: AudioService should direct volume control to ↵Eric Laurent2010-01-254-11/+13
|\ | | | | | | STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active."
| * Fix issue 2378022: AudioService should direct volume control to ↵Eric Laurent2010-01-254-11/+13
| | | | | | | | | | | | | | | | | | STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active. Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream type is playing. Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
* | Merge "Initial checkin of AudioSource and AMRWriter, a pair of classes ↵Andreas Huber2010-01-256-6/+408
|\ \ | |/ |/| | | supporting pure-audio recording in stagefright."
| * Initial checkin of AudioSource and AMRWriter, a pair of classes supporting ↵Andreas Huber2010-01-256-6/+408
| | | | | | | | | | | | pure-audio recording in stagefright. related-to-bug: 2295449
* | Merge "Fix issue 2363154: Speech synthesis fails to start over A2DP after ↵Eric Laurent2010-01-251-0/+3
|\ \ | |/ |/| | | media server process crash."
| * Fix issue 2363154: Speech synthesis fails to start over A2DP after media ↵Eric Laurent2010-01-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | server process crash. The problem is that after a media_server crash, the value of the A2DP output handle can change. As this value is cached in AudioSystem for all client processes there can be a mismatch between the cached and actual value after a media_server restart. The fix consists in clearing the cached output handles and output to stream map values cached in AudioSystem in AudioFlingerClient::binderDied() which is called when the media_server crashes.
* | The qcom OMX video decoders do not allocate output buffer memory at the time ↵Andreas Huber2010-01-256-5/+33
|/ | | | OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr.
* Merge "Make sure to release the renderer before shutting down the hardware ↵Andreas Huber2010-01-221-2/+2
|\ | | | | | | codec, qcom's hardware decoder will otherwise crash."
| * Make sure to release the renderer before shutting down the hardware codec, ↵Andreas Huber2010-01-221-2/+2
| | | | | | | | | | | | qcom's hardware decoder will otherwise crash. related-to-bug: 2387981
* | Add an orientation parameter for overlay, so we can do camera preview in ↵Chih-Chung Chang2010-01-211-1/+1
|/ | | | portrait mode.
* Merge "Fix circular dependency between StagefrightPlayer and AwesomePlayer ↵Andreas Huber2010-01-212-13/+18
|\ | | | | | | that prevented proper cleanup."
| * Fix circular dependency between StagefrightPlayer and AwesomePlayer that ↵Andreas Huber2010-01-212-13/+18
| | | | | | | | | | | | prevented proper cleanup. related-to-bug: 2355922
* | Special-case .wmv and .wma metadata retrieval and playback to use PV if ↵Andreas Huber2010-01-211-0/+13
|/ | | | | | available. related-to-bug: 2381874
* Fix no-copy-overhead OMXCodec implementation to actually work.Andreas Huber2010-01-208-23/+57
|
* Merge "Adds support for 8-bit (unsigned) PCM wave files."Andreas Huber2010-01-202-31/+71
|\
| * Adds support for 8-bit (unsigned) PCM wave files.Andreas Huber2010-01-202-31/+71
| | | | | | | | related-to-bug: 2382428
* | Merge "Support for 'iTunes-style' metadata in .mp4 and .3gp files."Andreas Huber2010-01-204-13/+239
|\ \
| * | Support for 'iTunes-style' metadata in .mp4 and .3gp files.Andreas Huber2010-01-204-13/+239
| |/ | | | | | | related-to-bug: 2368967
* | Merge "Create base class for audio policy manager."Eric Laurent2010-01-201-0/+2
|\ \ | |/ |/|
| * Create base class for audio policy manager.Eric Laurent2010-01-131-0/+2
| | | | | | | | | | | | | | | | | | | | First implementations of audio policy manager in Eclair branch have shown that most code is common to all platforms. Creating AudioPolicyManagerBase base class will improve code maintainability and readability. Audio policy manager code for platforms using generic audio previously in AudioPolicyManagerGeneric is replaced by AudioPolicyManagerBase. Audio policy manager test code previously in AudioPolicyManagerGeneric is moved to AudioPolicyManagerBase. Also added a wake lock for delayed commands in AudioPolicyService.
* | Fix trailing garbage after UCS-2 encoded strings in ID3 V2.Andreas Huber2010-01-191-1/+2
| | | | | | | | related-to-bug: 2381919
* | Support for ID3 version 1 (and 1.1) tags in .mp3 files.Andreas Huber2010-01-193-12/+159
| | | | | | | | related-to-bug: 2375219
* | Merge "Avoid unnecessary buffer copying if at all possible, detect if ↵Andreas Huber2010-01-196-7/+48
|\ \ | | | | | | | | | running in the mediaserver process."
| * | Avoid unnecessary buffer copying if at all possible, detect if running in ↵Andreas Huber2010-01-196-7/+48
| | | | | | | | | | | | the mediaserver process.
* | | Merge "Media server death nodification"James Dong2010-01-197-120/+198
|\ \ \ | |/ / |/| |
| * | Media server death nodificationJames Dong2010-01-157-120/+198
| | |
* | | Merge "Squashed commit of the following:"Andreas Huber2010-01-196-267/+499
|\ \ \
| * | | Squashed commit of the following:Andreas Huber2010-01-196-267/+499
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 6689350d7e4dad6d873c1ed95f0a356e3bfd79d1 Author: Andreas Huber <andih@google.com> Date: Tue Jan 19 09:23:02 2010 -0800 Some tweaks to the SampleIterator. commit 5638bff6d31442a219806445c3106d47b081fcab Author: Andreas Huber <andih@google.com> Date: Fri Jan 15 14:46:29 2010 -0800 A much improved implementation of MPEG4 sample table operations through an iterator.
* | | Merge "Remove totally unused code from OMX.cpp"Andreas Huber2010-01-191-44/+0
|\ \ \
| * | | Remove totally unused code from OMX.cppAndreas Huber2010-01-191-44/+0
| |/ /
* | | Merge "Upgrade for the stagefright commandline tool to support extracting ↵Andreas Huber2010-01-191-3/+58
|\ \ \ | | | | | | | | | | | | thumbnails and to optionally prefer software codecs."
| * | | Upgrade for the stagefright commandline tool to support extracting ↵Andreas Huber2010-01-141-3/+58
| | | | | | | | | | | | | | | | thumbnails and to optionally prefer software codecs.
* | | | Merge "Make sure the seek test attempts to seek on the very first iteration, ↵Andreas Huber2010-01-191-2/+2
|\ \ \ \ | |_|/ / |/| | | | | | | as this appears to be a special case that decoders frequently get wrong."
| * | | Make sure the seek test attempts to seek on the very first iteration, as ↵Andreas Huber2010-01-141-2/+2
| |/ / | | | | | | | | | this appears to be a special case that decoders frequently get wrong.
* | | Merge "Squashed commit of the following:"Andreas Huber2010-01-141-41/+71
|\ \ \
| * | | Squashed commit of the following:Andreas Huber2010-01-141-41/+71
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit cb11364feefc200f10af6a01f776803acba2792a Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 14:05:36 2010 -0800 Even if the decoder didn't extract the thumbnail at the specified time, accept it for now. commit a54c0244b305caf11e67db49b7d3d8dba5f77751 Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 11:37:15 2010 -0800 Add some checks to make sure we extract the correct thumbnail frame, also revert to the hardware decoders for thumnbail extraction if the software decoders failed.
* | | Merge "Fix a few issues with determining the closest sample to a given time ↵Andreas Huber2010-01-141-5/+19
|\ \ \ | | | | | | | | | | | | in the MPEG4 sampletable implementation."
| * | | Fix a few issues with determining the closest sample to a given time in the ↵Andreas Huber2010-01-141-5/+19
| |/ / | | | | | | | | | MPEG4 sampletable implementation.
* | | Merge "Squashed commit of the following:"Andreas Huber2010-01-141-2/+15
|\ \ \
| * | | Squashed commit of the following:Andreas Huber2010-01-141-2/+15
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0014ab17f2e0986044327a5ab22159de50b81e0a Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 14:05:09 2010 -0800 Another instance of returning an error instead of asserting makes sense. commit d2cac8c498a65b449a25ec216601830d23c165e7 Author: Andreas Huber <andih@google.com> Date: Thu Jan 14 13:34:33 2010 -0800 Instead of asserting on invalid data (incomplete NAL unit), return an error.
* | | Workaround for some hardware decoders not properly signaling ↵Andreas Huber2010-01-141-0/+17
|/ / | | | | | | end-of-output-stream properly.
* | Support for determining the mime type of media via metadata extraction.Andreas Huber2010-01-1310-4/+67
| |
* | More metadata support.Andreas Huber2010-01-133-3/+17
|/
* Merge "Properly respect NALLengthSize in the AVC Configuration header to ↵Andreas Huber2010-01-121-12/+51
|\ | | | | | | determine how many bits encode the nal unit size."
| * Properly respect NALLengthSize in the AVC Configuration header to determine ↵Andreas Huber2010-01-121-12/+51
| | | | | | | | | | | | how many bits encode the nal unit size. related-to-bug: 2363596
* | Merge "b/2353646 Fix music visualizations to also work with audiotrack ↵Marco Nelissen2010-01-122-69/+59
|\ \ | |/ |/| | | callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs."