• Home
  • History
  • Annotate
  • only in /frameworks/base/media/java/android/media/audiofx/
History log of /frameworks/base/media/java/android/media/audiofx/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de709869ae10263c4c325aaa72cdc6aada0ae8d5 06-Nov-2014 Jason Parks <jparks@google.com> Fix NPE for CTS.

The effect list can be empty and will return null
from native code. This fixes the CTS crash.

Bug: 18256010
Change-Id: Ifa552efc9de216993427115c001c7071c90403f1
udioEffect.java
b3bf7d487afdba540b1ce0f5abc57f060a159d0e 08-Sep-2014 Jean-Michel Trivi <jmtrivi@google.com> Virtualizer: replace device type by virtualization mode

Define audio virtualization modes that represent the different
audio processing modes.
Change and document the change in the methods used to describe
the virtualizer capabilities and characteristics.
Implement internal conversion functions between virtualization
modes and device types.

Bug 17059703

Change-Id: Ic4db211d6f51492be9088783246abb4b2866d76f
irtualizer.java
6a8eeda65f5e290365029672ef01f9039a83754f 05-Sep-2014 Eric Laurent <elaurent@google.com> Hide AudioDevice class

AudioDevice class is only used by Virtualizer so
far so it does not need to be public yet.
Also removed redundant DEVICE_ prefix to device
types.

Bug: 17059703.
Change-Id: I5c93f66487b35de24f28641141f8e7de9e85c6c2
irtualizer.java
a3ee6642d8325f621f267c951c6a524220646610 18-Jul-2014 Jean-Michel Trivi <jmtrivi@google.com> Unhide Virtualizer.getVirtualizationMode()

Unhide Virtualizer.getVirtualizationMode() method.
Added note in javadoc about the returned value.
Declared exceptions that can be thrown by the checkStatus(int)
helper function.

Change-Id: I4da82d1db1e39ca9dae489559bf1fb5de112c26a
irtualizer.java
2e7dd4bfc2460b99c37568a223a18e74b9cb8086 16-Jul-2014 Jean-Michel Trivi <jmtrivi@google.com> Unhide audio virtualizer capability query methods

Unhide the new method to query the Virtualizer effect implementation
about its capabilities in terms of input, device support, and
virtual speaker angles.

Change-Id: I4478f7837efe8c9d52978244a3402c7f8590e585
irtualizer.java
d2bebb3ab86177c0d27664af86b30b7dce2c9bcb 09-Jul-2014 Jean-Michel Trivi <jmtrivi@google.com> DO NOT MERGE Audio virtualizer effect: add support for querying capabilities

Change-Id: Ib62bab6655996575d7703be0bcb55fa8559a68a2
(cherry picked from commit 57fa19dec7150678020e7f1fe6e6879fd9d873f5)
udioEffect.java
irtualizer.java
e434ddd042f7fe9ff905ab29bda14e113e3d1c55 07-Jan-2014 Narayan Kamath <narayan@google.com> am 113e83e6: am 58cb0f0c: am bfbe585e: am c0c92f20: am 357ea905: Merge "AArch64: Use long for pointers in audio effect classes"

* commit '113e83e6f538ea217c167c6d8e11b28042ff2c53':
AArch64: Use long for pointers in audio effect classes
ea7861c918567d17d40a762b38f97c053d88b839 17-Dec-2013 Ashok Bhat <ashok.bhat@arm.com> AArch64: Use long for pointers in audio effect classes

For storing pointers, long is used in AudioEffect
and Visualizer classes, as native pointers can be 64-bit.

In addition, some minor changes have been done
to conform with standard JNI practice (e.g. use
of jint instead of int in JNI function prototypes)

Change-Id: Ief49bbe5baef663e268c7f6d70ac33a4df45621c
Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
udioEffect.java
isualizer.java
6090995951c6e2e4dcf38102f01793f8a94166e1 19-Nov-2013 John Spurlock <jspurlock@google.com> Remove unused imports from frameworks/base.

Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
udioEffect.java
assBoost.java
nvironmentalReverb.java
qualizer.java
resetReverb.java
irtualizer.java
isualizer.java
3661494d46d445fb68d41b0a0ec19fc06420fb34 24-Oct-2013 Jean-Michel Trivi <jmtrivi@google.com> Missing LoudnessEnhancer constructor and UUID in public API

Bug 11356672

Change-Id: Ia3d16712c8b9bb425a587acd87ba7fad6b4ce31c
udioEffect.java
oudnessEnhancer.java
01b5743aee4473c3bdbcb0decde47952a4cb739d 24-Sep-2013 Jean-Michel Trivi <jmtrivi@google.com> Public API for peak and RMS monitoring through the Visualizer effect

Public API to extend the capabilities of the Visualizer audio
effect with measurements of peak and RMS values.

Bug 8413913

Change-Id: Ifc6646e013ec55fde3523fab685add1d043f1272
isualizer.java
badca26cb218852d32862dada36ee52fce865ad2 20-Sep-2013 Jean-Michel Trivi <jmtrivi@google.com> Add audio level monitoring capabilities in Visualizer effect

Extend the visualizer audio effect with the capability to query
peak and RMS values for the currently playing audio.
Values are expressed in mB and are retrieved as an array of
int values in the native layer, and written directly as
object fields for the JNI.

Bug 8413913

Change-Id: I808075a18e61f85c566544a2bdaae10e5c4a644b
isualizer.java
c3c0b9921fc35472c2cae5ddcd0248f364495965 15-Sep-2013 Jean-Michel Trivi <jmtrivi@google.com> Public API for LoudnessEnhancer audio effect

Follows the API style of the other audio effects

Bug 8413913

Change-Id: I1ee21b0af7d9fc565d9cdacd006684577eeb7b21
oudnessEnhancer.java
d69e4e14226258fd103d0b9c1c5b4d8529e6a3ec 09-Sep-2013 Jean-Michel Trivi <jmtrivi@google.com> Loudness enhancer audio effect

LoudnessEnhancer as android.media.AudioEffect subclass

Define UUID for loudness enhancer effect

Bug 8413913

Change-Id: If0ae6023f77ccf3aafbb55f2b3135b2ea1bb8365
udioEffect.java
oudnessEnhancer.java
1d154187a99d5ad8dd33d47173cf6a4456276e76 04-Jun-2013 Scott Main <smain@google.com> javadoc cleanup for audioeffect

Change-Id: I87917309d1da6529e16d72ad2b4ec9ce04d10569
udioEffect.java
80569f7ff7db28ce98dde6e22bb4521ddbe5490a 26-Mar-2013 Jean-Michel Trivi <jmtrivi@google.com> AudioEffect types in SDK

Not all effect types are defined by OpenSL ES. Add the full UUID
effect identifier in the superclass of all audio effects.

bug 8113082

Change-Id: I8dfc6cdcfd2a145e792fb3669e6132e6f19d1c16
udioEffect.java
3a084af2e90849aaa8beb3a610189e3399c63ea0 07-Nov-2012 Kenny Root <kroot@google.com> Correct executable bit for source files

Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
isualizer.java
951794616f0d275faa077b25cb5979e401b0324d 19-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Unhide Visualizer scaling mode definitions and methods

Unhide Visualizer set/get methods, and associated constant
definitions.

Change-Id: Iaafe5f7a2f1273f72c3f7f842b416b93614dfa65
isualizer.java
5cef554cc857b2b542d2c62f8cd0c36d62e1bb9b 19-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Merge "Add support for scaling mode parameter in Visualizer effect"
8dfc10571a83389593fc11b92fbf9fc1f22c9f21 11-Apr-2012 Eric Laurent <elaurent@google.com> unhide audio pre processing API.

Unhide APIs for Noise Suppressor(NS), Acoustic Echo Canceler (AEC) and
Automatic Gain Control (AGC) audio pre processings.

Also unhide getAudioSessionId() method on AudioRecord.

Change-Id: I788f7a0724b152cc98c8167d9434e64c12bada95
cousticEchoCanceler.java
utomaticGainControl.java
oiseSuppressor.java
e1123e7f36723a8b888501c9a22a589297849ca2 16-Apr-2012 Jean-Michel Trivi <jmtrivi@google.com> Add support for scaling mode parameter in Visualizer effect

Add set/get methods to set how the Visualizer scales the captured
data.

Change-Id: Ia1da00fd5474dd3484b59caf7d1d0a812d0347de
isualizer.java
855255d89fe0a14abe796355bebb64031ec6ff47 09-Apr-2012 Eric Laurent <elaurent@google.com> audio preprocessing: added static factory method

Added static methods to check availability and create audio preprocessing
effects.

Change-Id: I945e97fe41912ff8880befacaba162a08b5a1267
cousticEchoCanceler.java
udioEffect.java
utomaticGainControl.java
oiseSuppressor.java
3540a0197f56c4bcd7d7419f4502bfca34257de2 11-Jan-2012 John Grossman <johngro@google.com> Enhance Visualizer behavior in the case of mediaserver death.

Bring the Visualizer class into line with the SDK documentation by
returning ERROR_DEAD_OBJECT instead of ERROR_INVALID_OPERATION when
the Visualizer loses its binder connection to the mediaserver because
of a mediaserver restart.

Also add a new callback interface to allow clients to be
asynchronously notified in the case of server death. Right now, the
interface definition and the registration method are flagged as hidden
pending API council review/approval.

See http://b/issue?id=5717519 for details.

Change-Id: Ic15856f27ed5a950a583ac11ca81f79bd7e9b1a0
Signed-off-by: John Grossman <johngro@google.com>
isualizer.java
449725f9aa67136a38c7554ba76ac4e27e5e3bd3 10-Jan-2012 John Grossman <johngro@google.com> Reuse callback buffers in the Visualizer.

Don't re-allocate buffers used by Visualizer callbacks as this causes an
unacceptable amount of GC thrash. Instead, lazily allocate the buffers and only
reallocate them when the required size changes.

See http://b/issue?id=5717519 for details.

Change-Id: Ibd157ed51f30687ce7c4ef0b4003258a484e0f5d
Signed-off-by: John Grossman <johngro@google.com>
isualizer.java
5bb8f80fc4a72ad70d7d38cdc9f7988edce476e4 24-Jul-2011 Glenn Kasten <gkasten@google.com> Fix typo in error message, missing space

Change-Id: Icdddbf2fddb81a1db538dd94fb25cf859e44bfbd
udioEffect.java
62f3617f2f4016ad2f59635d5156d64872989880 14-Aug-2011 Eric Laurent <elaurent@google.com> Deprecate use of some audio effects on output mix.

The possibility for applications to apply insert audio effects
(Equalizer, BassBoost, Virtualizer) on global output mix has brought up
a number of issue.

This change updates the java doc for audio effects indicating that
application should not apply insert effects globaly anymore as this behavior
will soon be deprecated.

The audio framework will still allow global insert effects during an interim
period but will give the priority to effects inserted on particular player by
disabling global effects when both are present.

============

Change-Id: If87f1944a0409d45d8d2eee66ff331f95965ca89
udioEffect.java
assBoost.java
qualizer.java
irtualizer.java
0f7f4ece1b6b73caf608d533d833a8cdc11c8131 24-Jul-2011 Eric Laurent <elaurent@google.com> Added APIs for audio preprocessing

Added APIs to control pre processes applied on captured audio.
Those APIs are still hidden until reviewed by API council.

Three types of standard pre processes are supported:
- Automatic Gain Control (AGC) by AutomaticGainControl class
- Acoustic Echo Cancellation (AEC) by AcousticEchoCanceler class
- Noise Suppression (NS) by NoiseSuppressor class

A method is added to AudioEffect class to query audio pre processings
applied by default by the platform on a given AudioRecord session ID.

Change-Id: I0b9fceeb8c704dd06319c3b52b85c96fe871d51d
cousticEchoCanceler.java
udioEffect.java
utomaticGainControl.java
oiseSuppressor.java
602b3286ffe7da6e70bf2d9e4861a5d74ff7c473 18-Mar-2011 Eric Laurent <elaurent@google.com> Fix issue 3509396: AudioEffect.getParameter JAVA.

Removed dead/buggy code in AudioEffect.getParameter() and
AudioEffect.command() that was meant to return the actual length of
meaningful data in the returned parameter or command reply.

This is replaced by the method return status indicating this length when
positive (negative return codes still indicate the same errors as before).

Modified automated AudioEffect tests accordingly.

Change-Id: Ie89617f912766b8dee73b81f92af9c48027c982d
udioEffect.java
ed6eae420fd60dcb7d90f54c3116959b75bd6276 18-Jan-2011 Glenn Kasten <gkasten@google.com> Fix typo

Change-Id: I73e7c5cf13c5ed82398006af61308665eb1d3ad0
udioEffect.java
isualizer.java
03a4090b4d5965ff01cbb03dcf6d96b30d634fa3 28-Oct-2010 Eric Laurent <elaurent@google.com> Update java doc for visualizer FFT capture.

The java doc for visualizer FFT capture was not describing
correctly the layout of the data returned by getFft() method.

Change-Id: Idec09538490ea73b211db253b1b8b733ca4d4a72
isualizer.java
1a5149e5d7f2dddc8b324f7695e69fd89af73c52 22-Sep-2010 Eric Laurent <elaurent@google.com> Fix issue 3022800.

- Created sub-package android.media.audiofx for audio effects.
- Hid AudioEffect class contructor, methods and variables not needed by
applications
- Added more javadoc comments for AudioEffect Class

Change-Id: Ibbb40d4e714bb248aa32cf82d7763d74efae96d1
udioEffect.java
assBoost.java
nvironmentalReverb.java
qualizer.java
resetReverb.java
irtualizer.java
isualizer.java
ackage.html