summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Audio policy manager changes for audio effects" into gingerbreadEric Laurent2010-07-2013-228/+887
|\
| * Audio policy manager changes for audio effectsEric Laurent2010-07-2013-228/+887
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added methods for audio effects management by audio policy manager. - control of total CPU load and memory used by effect engines - selection of output stream for global effects - added audio session id in parameter list for startOutput() and stopOutput(). this is not used in default audio policy manager implementation. Modifications of audio effect framework in AudioFlinger to allow moving and reconfiguring effect engines from one output mixer thread to another when audio tracks in the same session are moved or when requested by audio policy manager. Also fixed mutex deadlock problem with effect chains locks. Change-Id: Ida43484b06e9b890d6b9e53c13958d042720ebdb
* | Support a single format change at the beginning of audio playback. This way ↵Andreas Huber2010-07-203-67/+64
| | | | | | | | | | | | | | the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly. Change-Id: Icc790122744745e9a88099788d4818ca1e265a82 related-to-bug: 2826841
* | Merge "Fix MPEG4Extractor to extract sampling frequency correctly when SBR ↵Andreas Huber2010-07-202-13/+79
|\ \ | |/ |/| | | is enabled." into gingerbread
| * Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.James Dong2010-07-192-13/+79
| | | | | | | | Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8
* | Fixed problems in audio effect volume control.Eric Laurent2010-07-193-13/+27
|/ | | | | | | | | | Fixed the following problems in audio effect volume control in AudioFlinger: - Make sure that the volumes returned by EffectChain::setVolume_l() are correct even is no change is detected since last call - Do not use isEnabled() to validate volume control but mState >= ACTIVE instead as the volume control must be also active in STOPPING and STOPPED states. Change-Id: Id62da3164fad500ee8a5efd6cd78c77e8fdcb541
* Fix simulator build (1st attempt)James Dong2010-07-181-0/+1
| | | | Change-Id: I65a824c17929170b7b2bc75a13e756e92d8fe50a
* First submission of audio effect library from NXP software.Eric Laurent2010-07-17203-65/+29801
| | | | | | | | | | | | | | | | | | | This CL contains the first open sourceable version of the audio effect library from NXP software. The effects implemented are: - Bass boost - Virtualizer (stereo widening) - Equalizer - Spectrum analyzer Source file for the effect engines are located under libeffects/lvm/lib The wrapper implementing the interface with the audio effect framework in under libeffects/lvm/wrapper The code of other effect libraries has also been reorganized fo clarity: - the effect factory is now under libeffects/factory - the test equalizer and reverb effects are under libeffect/testlibs - the visualizer is under libeffects/virtualizer Change-Id: I8d91e2181f81b89f8fc0c1e1e6bf552c5809b2eb
* Merge "Several improvements in audio effects volume control." into gingerbreadEric Laurent2010-07-163-71/+74
|\
| * Several improvements in audio effects volume control.Eric Laurent2010-07-153-71/+74
| | | | | | | | | | | | | | | | | | | | - Fixed crash when deleting an effect chained before an effect having volume control - Changed EFFECT_FLAG_VOLUME_CTRL to implicitely include EFFECT_FLAG_VOLUME_IND (not need to set both in effect descriptor). - Volume control changes from one effect to another if needed according to effect enable state - EFFECT_CMD_SET_VOLUME is only sent when their is an actual change in volume Change-Id: Ieebaf09157e2627366023569d95516646e03e26c
* | Initial check-in for software m4v_h263 encoderJames Dong2010-07-1540-0/+26358
| | | | | | | | Change-Id: I4b49fa5c3a5e6e21cfd2419441d98dd784046367
* | Merge "Support user-supplied timescales for authoring" into gingerbreadJames Dong2010-07-156-53/+152
|\ \ | |/ |/|
| * Support user-supplied timescales for authoringJames Dong2010-07-146-53/+152
| | | | | | | | | | | | - also, change all the real time unit to microseconds in MPEG4Writer Change-Id: I260f512f2eb670ade7b8858a56335a5d639de756
* | added BinderService<> template to help creating native binder servicesMathias Agopian2010-07-144-17/+15
| | | | | | | | Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe
* | move native services under services/Mathias Agopian2010-07-1435-2/+19974
|/ | | | | | | | moved surfaceflinger, audioflinger, cameraservice all native services should now reside in this location. Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
* Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQJean-Michel Trivi2010-07-142-5/+5
| | | | | | effect UUID instead of defining it locally. Change-Id: Id6018fef20d286899cf7503fec3521dcd56db7e0
* Fix simulator buildJames Dong2010-07-132-0/+4
| | | | | | | - missing header file <string.h> - need to define -D__arm__ Change-Id: I18d2f1908684150784cf728234b5aedbc02447d1
* Merge "Modifications in audio effect engine state management." into gingerbreadEric Laurent2010-07-135-5/+83
|\
| * Modifications in audio effect engine state management.Eric Laurent2010-07-135-5/+83
| | | | | | | | | | | | | | | | | | | | | | - Separate the updating of effect engine state from the process call in EffectModule so that the state of all effects in the same effect chain is updated simultaneusly before all process functions are called. - Added a mechanism for the effect engine to continue being called for processing after receiving the disable commands untils it considers that the framework can stop calling the process function without causing a glitch or loosing some effect tail. - Updated test reverb and equalizer to support this new feature Change-Id: Icb56ae2c84c076d4dbad6cf733b1a62f823febe7
* | Initial checkin for software AVC encoderJames Dong2010-07-1327-1/+17910
|/ | | | | | | | | | - Since the software encoder assumes the input is YUV420 planar, color conversion needs to be added when the input color format does not meet the requirement. With this patch, I only added a single color conversion from YUV420 semi planar to YUV420 planar. We can add more as we go. Change-Id: If8640c9e5a4f73d385ae9bb2022e57f7f62b91b9
* Merge "Fix swap of sessionId and output in audio effect API." into gingerbreadJean-Michel Trivi2010-07-091-2/+2
|\
| * Fix swap of sessionId and output in audio effect API.Jean-Michel Trivi2010-07-091-2/+2
| | | | | | | | Change-Id: Idc93415efef92087507401e50cfb235a6f1f7ed7
* | Enable the support for decoding audio with AAC+ and eAAC+ featuresJames Dong2010-07-082-45/+65
| | | | | | | | | | | | bug - 282684 Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b
* | Add runtime dumpsys support for media recorder clientJames Dong2010-07-088-15/+92
| | | | | | | | Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
* | Added JAVA classes to control bass boost, equalizer, reverberation and ↵Eric Laurent2010-07-086-587/+730
|/ | | | | | | | | | | | | | | | | | virtualizer Effects. Defined the following JAVA classes on top of AudioEffect class to facilitate control off built-in audio effects with APIs aligned with interfaces defined in OpenSL ES specification: - BastBoot.java - Equalizer.java - PresetReverb.java - EnvironmentalReverb.java - Virtualizer.java Split reverb API header file in two, one for preset reverb and one for environmental reverb. Some changes in test reverb to support preset reverb. Change-Id: Ie0a5ba06002e63dfd6da22cace5568c1e0b76ea1
* Merge "Added Visualizer effect." into gingerbreadEric Laurent2010-07-0714-259/+1030
|\
| * Added Visualizer effect.Eric Laurent2010-07-0714-259/+1030
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The visualizer enables application to retrieve part of the currently playing audio for visualization purpose. It is not an audio recording interface and only returns partial and low quality audio content as a waveform or a frequency representation (FFT). Removed temporary hack made in MediaPlayer for animated wall papers based on audio visualization (snoop() method. This commit also includes a change in AudioEffect class: - the enable()/disable() methods have been replaced bya more standard setEnabled() method. - some fixes in javadoc Change-Id: Id092a1340e9e38dae68646ade7be054e3a36980e
* | Merge "Allow application to set two more encoding paramters: video profile ↵James Dong2010-07-075-15/+143
|\ \ | | | | | | | | | and level" into gingerbread
| * | Allow application to set two more encoding paramters: video profile and levelJames Dong2010-07-075-15/+143
| | | | | | | | | | | | Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
* | | Only send the playback complete notification if a) an error occurred on any ↵Andreas Huber2010-07-072-20/+37
|/ / | | | | | | | | | | track or b) all tracks have finished playing. The previous behaviour was to send the notification as soon as the first track finished playing. Change-Id: Icac8104d14f18b719aa0b8f1ab3215f24003b152
* | Merge "ALooperRoster no longer holds strong references to handlers and ↵Andreas Huber2010-07-072-8/+40
|\ \ | | | | | | | | | loopers." into gingerbread
| * | ALooperRoster no longer holds strong references to handlers and loopers.Andreas Huber2010-07-072-8/+40
| | | | | | | | | | | | Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
* | | Make sure the OMX callback thread is properly shutdown after the node goes away.Andreas Huber2010-07-071-0/+9
|/ / | | | | | | Change-Id: Ib0b25855b0dfc191e5529193b4cb519f644a8412
* | Merge "An AHandler can now find its associated ALooper." into gingerbreadAndreas Huber2010-07-075-0/+50
|\ \
| * | An AHandler can now find its associated ALooper.Andreas Huber2010-07-025-0/+50
| | | | | | | | | | | | Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
* | | Merge "Add an option to ALooper::start that allows it to call back into java ↵Andreas Huber2010-07-022-5/+9
|\ \ \ | |/ / |/| | | | | or not." into gingerbread
| * | Add an option to ALooper::start that allows it to call back into java or not.Andreas Huber2010-07-022-5/+9
| | | | | | | | | | | | Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
* | | Merge "Added AMessage::debugString() for debugging purposes." into gingerbreadAndreas Huber2010-07-022-0/+105
|\ \ \
| * | | Added AMessage::debugString() for debugging purposes.Andreas Huber2010-07-012-0/+105
| |/ / | | | | | | | | | Change-Id: Id43ffd2c56d659dc29f37e277f8c7b38f11c1591
* | | Merge "Refactor Stagefright::StartMPEG4Recording()" into gingerbreadJames Dong2010-07-012-152/+186
|\ \ \
| * | | Refactor Stagefright::StartMPEG4Recording()James Dong2010-07-012-152/+186
| | | | | | | | | | | | | | | | | | | | | | | | - Also, better error handling Change-Id: Ic18d08dc6489adf92c6a588efa4baca66429b175
* | | | Support for writing the extracted data to an .mp4 file in the stagefright ↵Andreas Huber2010-07-014-5/+80
| |/ / |/| | | | | | | | | | | | | | commandline tool. Change-Id: I972324a8fc9757e6e8116b0270ec0882106f8733
* | | Add multiple camera support for in MediaProfiles.Chih-Chung Chang2010-07-012-31/+85
|/ / | | | | | | Change-Id: Ie89568a0f5f5fd08ede77e33f9a559215d6bed9a
* | Support for vanilla YUV420sp => RGB565 color conversion.Andreas Huber2010-06-302-0/+73
| | | | | | | | Change-Id: I22e5b554909e169eaf153d1f25b636f6f04a1871
* | Added encoding parameters set up for H263 video encoderJames Dong2010-06-296-81/+211
| | | | | | | | | | | | | | | | Also: - Allowed start() call when encoder already starts and stop() call when encoder has not started yet - Handled default value for audio/video sources/encoders and file output format Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
* | set up fast-forward from froyo-release to gingerbreadThe Android Open Source Project2010-06-290-0/+0
|\ \ | | | | | | | | | Change-Id: I22fc9465f5d8a0144b31803f431602fe3bda516a
| * | TimedEventQueue is apparently important for glitch-free media playback, and soMarco Nelissen2010-06-161-0/+3
| | | | | | | | | | | | | | | | | | | | | having it inherit its priority from the thread that created it is a bad idea. Instead, set the priority explicitly, and bump it to slightly higher than normal. Change-Id: I01843f24905790ce2e2cde5d11a99346cfbf968d
| * | When filling the cache, we always time out waiting for a condition that ↵James Dong2010-06-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | won't occur. We are actually improving the power consumption for streaming applications like Pandora. Change-Id: Id32bacbc962e8c69c056599479b308d6a07b7a20
* | | Add qcom's new OMX components to the list.Andreas Huber2010-06-291-4/+17
| |/ |/| | | | | Change-Id: Ic8d261aaa5b15c1be7e6d57aee6be51cecb10bb1
* | Collect statistical data from authoring engine (second part)James Dong2010-06-281-25/+41
| | | | | | | | | | | | | | | | | | | | - added sample duration to the statistcal log messages. - fixed the bug on miscalcuting the average frame rate. - also fixed an issue where both frame and time progress status notifications are sent out even though only one of them is explicitly requsted. Change-Id: Ib86f15a85fad3dbeabde120c3c782b79c16da46c