| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
|/|
| | |
is enabled." into gingerbread
|
| |
| |
| |
| | |
Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8
|
|/
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I65a824c17929170b7b2bc75a13e756e92d8fe50a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| | |
Change-Id: I4b49fa5c3a5e6e21cfd2419441d98dd784046367
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
- also, change all the real time unit to microseconds in MPEG4Writer
Change-Id: I260f512f2eb670ade7b8858a56335a5d639de756
|
| |
| |
| |
| | |
Change-Id: Id980899d2647b56479f8a27c89eaa949f9209dfe
|
|/
|
|
|
|
|
|
| |
moved surfaceflinger, audioflinger, cameraservice
all native services should now reside in this location.
Change-Id: Iee42b83dd2a94c3bf5107ab0895fe2dfcd5337a8
|
|
|
|
|
|
| |
effect UUID instead of defining it locally.
Change-Id: Id6018fef20d286899cf7503fec3521dcd56db7e0
|
|
|
|
|
|
|
| |
- missing header file <string.h>
- need to define -D__arm__
Change-Id: I18d2f1908684150784cf728234b5aedbc02447d1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|/
|
|
|
|
|
|
|
|
| |
- 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
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Idc93415efef92087507401e50cfb235a6f1f7ed7
|
| |
| |
| |
| |
| |
| | |
bug - 282684
Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b
|
| |
| |
| |
| | |
Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | | |
and level" into gingerbread
|
| | |
| | |
| | |
| | | |
Change-Id: I673e681cefe184d5c556c612c54600a24a2143e5
|
|/ /
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | | |
loopers." into gingerbread
|
| | |
| | |
| | |
| | | |
Change-Id: I038d69b0a34eda1bfc5216d92c837a5ddf4fb802
|
|/ /
| |
| |
| | |
Change-Id: Ib0b25855b0dfc191e5529193b4cb519f644a8412
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ic7087b8dcbc0d9abda272df0cb01b04b006f82ad
|
|\ \ \
| |/ /
|/| |
| | | |
or not." into gingerbread
|
| | |
| | |
| | |
| | | |
Change-Id: Iec172901a04a575d8d350bd162565f04677c3f26
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: Id43ffd2c56d659dc29f37e277f8c7b38f11c1591
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Also, better error handling
Change-Id: Ic18d08dc6489adf92c6a588efa4baca66429b175
|
| |/ /
|/| |
| | |
| | |
| | |
| | | |
commandline tool.
Change-Id: I972324a8fc9757e6e8116b0270ec0882106f8733
|
|/ /
| |
| |
| | |
Change-Id: Ie89568a0f5f5fd08ede77e33f9a559215d6bed9a
|
| |
| |
| |
| | |
Change-Id: I22e5b554909e169eaf153d1f25b636f6f04a1871
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | | |
Change-Id: I22fc9465f5d8a0144b31803f431602fe3bda516a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
won't occur.
We are actually improving the power consumption for streaming applications like Pandora.
Change-Id: Id32bacbc962e8c69c056599479b308d6a07b7a20
|
| |/
|/|
| |
| | |
Change-Id: Ic8d261aaa5b15c1be7e6d57aee6be51cecb10bb1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|