summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | | rename audio policy output flagsEric Laurent2012-04-184-10/+10
| | | | | | | | | | | | Change-Id: I27c46bd1d1b2b5f96b87af7d05b951fef18a1312
* | | Some refactoring and cleanup of now obsolete crypto fields.Andreas Huber2012-04-182-6/+3
| |/ |/| | | | | | | | | codec commandline tool no longer supports decryption. Change-Id: I7b10be6524631b20ac5d361d47949b00addf4a93
* | Merge "Fix for multiple audio/timed track feature implementation - part one"James Dong2012-04-171-10/+20
|\ \
| * | Fix for multiple audio/timed track feature implementation - part oneJames Dong2012-04-161-10/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o getTrackInfo now returns all tracks, rather than just the timed text tracks. o the index of the track info is kept to the same as the track index if the track is not from an external source o correctly maps the selectTrack() and unselectTrack() calls to the right track index o TODO: 1) note that the selectTrack() and unselectTrack() only works for timed text track at present; 2) the lock is timed text specific o related-to-bug: 6110705 Change-Id: Ib1feeef2184bc992930ace0d1197b6c00a2636d7
* | Merge "Change NuMediaExtractor's API to support different kinds of data ↵Andreas Huber2012-04-161-1/+7
|\ \ | |/ |/| | | sources."
| * Change NuMediaExtractor's API to support different kinds of data sources.Andreas Huber2012-04-131-1/+7
| | | | | | | | | | Change-Id: I080aa2ce28300a72a85751509334dbdc491936c6 related-to-bug: 6276111
* | Merge "Add external timed text source using a passed file descriptor"James Dong2012-04-131-1/+4
|\ \ | |/ |/|
| * Add external timed text source using a passed file descriptorJames Dong2012-04-131-1/+4
| | | | | | | | | | | | | | | | o Also fixed a minor issue where the file length should be of type off64_t rather than size_t o related-to-bug: 5542712 Change-Id: I35fd8ceea0bc75e553b7f4a99932cf58ea560c4e
* | Add metadata keys to communicate encrypted fragments and associated info.Andreas Huber2012-04-121-0/+22
| | | | | | | | | | Change-Id: I90a27c9bbe649328b88144b161c420916673846f related-to-bug: 6275919
* | Merge "Refactored SurfaceMediaSource"Mathias Agopian2012-04-101-200/+55
|\ \ | |/ |/|
| * Refactored SurfaceMediaSourceDaniel Lam2012-04-091-200/+55
| | | | | | | | | | | | | | SurfaceMediaSource takes advantage of BufferQueue to avoid duplicated code. Change-Id: I5e60b8eca21e6c3cf728d363cd8f3786125182d1
* | New API to support submitting encrypted buffers to the decoder.Andreas Huber2012-04-061-1/+12
|/ | | | | Change-Id: I69dd60e43078c4211c6123cf6e0ce90e676bf873 related-to-bug: 6275919
* Merge "frameworks/av/media portion of removing YouTube specific error codes"Jeff Tinker2012-04-041-8/+4
|\
| * frameworks/av/media portion of removing YouTube specific error codesJeff Tinker2012-04-031-8/+4
| | | | | | | | | | Change-Id: Id0d84d3aaaf340cd5287611c9dc7cb8d11466772 related-to-bug: 5883949
* | audio policy: load audio hw modules.Eric Laurent2012-04-041-11/+15
| | | | | | | | | | | | | | | | | | | | | | Audio HW modules are now loaded upon request from audio policy manager according to the configuration in audio_policy.conf. Removed hard coded HW module loading by AudioFlinger at init time. Added methods to IAudioFlinger and AudioPolicyInterface to control the loading of audio HW modules. Added methods to open an output or input stream on a specific hw module. Change-Id: I361b294ece1a9b56b2fb39cc64259dbb73b804f4
* | audio policy: add configuration fileEric Laurent2012-04-031-0/+13
| | | | | | | | | | | | | | | | | | | | | | removed outputs to stream mapping cache in audio system: the output for a given stream type must always be queried from audio policy manager as the cache is not always updated fast enough by audioflinger callback. removed AudioFlinger::PlaybackThread::setStreamValid() not used anymore if stream to output mapping is not cached. Change-Id: Ieca720c0b292181f81247259c8a44359bc74c66b
* | New Crypto services talking to the new crypto "HAL".Andreas Huber2012-04-032-17/+18
| | | | | | | | | | Change-Id: I69ed31e7a8b4d69d1209d2d516f94d258f072566 related-to-bug: 6275919
* | Merge "Add a few more APIs to MediaCodecList."Andreas Huber2012-04-032-0/+18
|\ \
| * | Add a few more APIs to MediaCodecList.Andreas Huber2012-04-022-0/+18
| | | | | | | | | | | | Change-Id: I5ac193cd40c82bbcd87c1e55003b78102e8d4674
* | | Merge "Update AudioParameter"Glenn Kasten2012-04-021-6/+6
|\ \ \
| * | | Update AudioParameterGlenn Kasten2012-04-011-6/+6
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Use definitions for AUDIO_PARAMETER_STREAM_* from <hardware/audio.h> instead of repeating these constants. String constants are const char * const. Change-Id: I1c9ebe0bc9c827d719d3181aea55251c6db28ec4
* | | Merge "AudioTrack client fast policy"Glenn Kasten2012-04-021-3/+5
|\ \ \
| * | | AudioTrack client fast policyGlenn Kasten2012-04-021-3/+5
| |/ / | | | | | | | | | Change-Id: I42ce691df3f586ac061b62237f35a263a0116f1f
* | | Add gapless playback support for NuPlayerMarco Nelissen2012-04-021-2/+3
|/ / | | | | | | | | | | | | | | | | This makes NuPlayer use a SkipCutBuffer when needed, and adds a new AudioSink method to retrieve the number of frames written so far, so NuPlayerRenderer can calculate how much data it can write without blocking. Also make some more methods const. Change-Id: Id7d253ad8a7b85e9a84ca2baafbe32817b16c744
* | Merge "implemented synchronous audio capture"Eric Laurent2012-03-304-3/+24
|\ \
| * | implemented synchronous audio captureEric Laurent2012-03-294-3/+24
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Added the infrastructure to support the synchronization of playback and capture actions on specific events. The first requirement for this feature is to synchronize the audio capture start with the full rendering of a given audio content. The applications can further be extended to other use cases (synchronized playback start...) by adding new synchronization events and new synchronous control methods on player or recorders. Also added a method to query the audio session from a ToneGenerator. Change-Id: I51f1167290d9cafdf2fbcdf9e4785156973af44c
* | reduce IPCs in BufferQueueMathias Agopian2012-03-291-5/+1
| | | | | | | | Change-Id: I1f8c32a771a411476d225adc62d1f07c24f39a3e
* | Add ABuffer support to SkipCutBufferMarco Nelissen2012-03-291-2/+3
|/ | | | | | | | Add support for ABuffer to SkipCutBuffer, and make it (re)allocate an appropriately sized buffer when needed, rather then relying on the caller to tell it ahead of time how big the buffers are going to be. Change-Id: I8b5c9ba5dd2fc13ef8870b7d4fe93a1bfdc7a626
* AV Android make files changesJames Dong2012-03-282-67/+238
| | | | | | | o plus a few file relocation: ActivityManager.cpp/h, SoundPool.h, etc o remove some runtime dependencies to libandroid, libandroid_runtime, etc Change-Id: I047a47c5fb361dd5cf85cd98798c39f629a75d10
* Merge "Use a status_t return type for GL functors"Romain Guy2012-03-261-0/+17
|\
| * Use a status_t return type for GL functorsRomain Guy2012-03-261-0/+17
| | | | | | | | | | | | | | | | | | WebView needs more fine-grained control over the behavior of the framework upon execution of the display lists. The new status_t allows WebView to requests its functor to be re-executed directly without causing a redraw of the entire hierarchy. Change-Id: I97a8141dc5c6eeb6805b6024cc1e76fce07d24cc
* | Merge "Provisional support for secure decryption of media streams."Andreas Huber2012-03-268-3/+100
|\ \
| * | Provisional support for secure decryption of media streams.Andreas Huber2012-03-268-3/+100
| | | | | | | | | | | | Change-Id: Ib3982a9c960bfdb0cb7e1b174440b141b194cfbe
* | | Merge "reorganize SoundPool and JetPlayer code."Eric Laurent2012-03-261-3/+2
|\ \ \ | |/ / |/| |
| * | reorganize SoundPool and JetPlayer code.Eric Laurent2012-03-261-3/+2
| |/ | | | | | | | | | | | | | | | | | | Reorganize SoundPool and JetPlayer code to be ready for the creation of libmedia_native. Split SoundPool between libsoundpool (JNI) and libmedia(sound pool implementation). Remove dependencies on nativehelper/jni.h from JetPlayer. Change-Id: I130c6014173b714329929dd82c5dfb70b757a610
* | Add TRACK_FAST for IAudioFlinger::createTrackGlenn Kasten2012-03-261-2/+3
| | | | | | | | | | | | Currently not implemented by client or server Change-Id: Ib11dda57db3eeb871bcc7b546e340078776875f5
* | Merge "IAudioFlinger::createTrack and openRecord flags"Glenn Kasten2012-03-262-4/+9
|\ \
| * | IAudioFlinger::createTrack and openRecord flagsGlenn Kasten2012-03-192-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | createTrack and openRecord don't need the "old" flags parameter, which was either audio_policy_output_t or audio_in_acoustics_t shifted left by 16 bits. But they do need "new" flags, which are defined by the application use case. Initially, the only application use case flag is timed output, but others are planned. For output, the audio_policy_output_t flags are passed to AudioSystem::getOutput, which returns an audio_io_handle_t, and that handle is then passed to createTrack. So createTrack doesn't need the old flags parameter. For input, the audio_in_acoustics_t flags are passed to AudioSystem::getInput, which returns an audio_io_handle_t, and that handle is then passed to openRecord. So openRecord doesn't need the old flags parameter. Change-Id: I18a9870911846cca69d420c19fe6a9face2fe8c4
* | | remove jni.h include from IOMX.hColin Cross2012-03-241-2/+0
| | | | | | | | | | | | | | | | | | | | | jni.h is not used in IOMX.h and is not available in pdk builds, remove it. Change-Id: I9bc8fd70f617942712d9f684c6fc927bf18be753
* | | Fixed missing return value from a method should have returned status_tJames Dong2012-03-241-1/+1
| |/ |/| | | | | Change-Id: I83ad2735eaf8a8dfa5f8f29f30aec1311b3222de
* | Merge "Remove enforceFrameCount"Glenn Kasten2012-03-221-2/+1
|\ \
| * | Remove enforceFrameCountGlenn Kasten2012-03-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | It was only used to decide whether to issue a warning. The warning was issued the first time track was created but not at re-creation. Now it is a verbose message every time, not a warning since it happens all the time with key clicks on A2DP. Change-Id: I9d39f53c0a7eb84b666e55b1b76ff830cf8f37ba
* | | Support gapless playback for mp3 and m4aMarco Nelissen2012-03-222-0/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | Gapless playback for appropriately tagged mp3 and m4a files. Currently this is implemented in OMXCodec, which most players use, but should be easy to support in other players as well by using the SkipCutBuffer utility class. Change-Id: I748c669adc1cfbe5ee9a7dea2fad945d48882551
* | | Merge "Add MetaData::dumpToLog"Marco Nelissen2012-03-211-0/+4
|\ \ \ | |/ / |/| |
| * | Add MetaData::dumpToLogMarco Nelissen2012-03-211-0/+4
| | | | | | | | | | | | | | | | | | Utility method for dumping the content of a MetaData object to the log. Change-Id: I2d91b991e1d9fed2215e8995a73c2b1854205074
* | | Merge "Whitespace"Glenn Kasten2012-03-212-3/+4
|\ \ \ | |/ / |/| |
| * | WhitespaceGlenn Kasten2012-03-192-3/+4
| |/ | | | | | | | | | | Fix indentation, and add blank lines in key places for clarity Change-Id: I57a0a8142394f83203161aa9b8aa9276abf3ed7c
* | Merge "Parse mp3 encoder padding/delay"Marco Nelissen2012-03-201-0/+2
|\ \ | |/ |/|
| * Parse mp3 encoder padding/delayMarco Nelissen2012-03-201-0/+2
| | | | | | | | | | | | Get the mp3 encoder padding and delay from a XING frame or iTunSMPB tag. Change-Id: Icde598c8857d7e7c187a718f478ee9799d6a1b8a
* | Merge "Add a new camera open API that allows taking the ownership."Wu-cheng Li2012-03-152-2/+2
|\ \