History log of /frameworks/wilhelm/src/android/android_Effect.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
67213e9075e0c51ed39142553facae586295dcaa 15-Jan-2017 Jean-Michel Trivi <jmtrivi@google.com> OpenSL ES AudioTrack-based player implements IPlayer

Encapsulate the AudioTrack object inside a container for
it along with an implementation of IPlayer.
Note that at this point the piid and audiomanager reference
are still stored respectively in CAudioPlayer and Engine,
only for PLAYER_TYPE_SLES_AUDIOPLAYER_URI_FD players, to be
consolidated inside GenericPlayer class.

Test: use vendor/google_toolbox/team/audio/cmds/ClPlaybackActivity
Bug 30258418

Change-Id: I88163b05fa1b962b166c5dc33da018ee320ab70a
/frameworks/wilhelm/src/android/android_Effect.cpp
5639df9d17ff8ae0ab83f1a31187a284044689d7 15-Oct-2016 Mikhail Naganov <mnaganov@google.com> Split audio effects headers

There can be different use cases with the code that imports
headers from audio_effects (each subsequent case is a more
specialized version of the previous one):

1. The code only needs access to general structures
like effect_descriptor_t:
==> include system/audio_effect.h
Example: AudioSystem in libmedia

2. The code that needs access to effect UUID and parameter
enums:
==> include system/audio_effects/effect_foo.h
Examples: media framework effects interfaces, libwilhelm

3. The code that needs to call into HAL:
==> include hardware/audio_effect.h
Examples: libaudiohal (implementation part) and libeffects

4. The code that implements a particular effect:
==> include audio_effects/effect_foo.h
Examples: cts/.../CTSTestEffect.cpp
stuff in hardware/, vendor/

Change-Id: I05cf8140dc7bd2c9c2b0f6bad17ab7c403bf93d6
Test: make
/frameworks/wilhelm/src/android/android_Effect.cpp
6c291d8ddeef72cdffce8d4bf15f779f4d80e383 14-Sep-2016 Chih-Hung Hsieh <chh@google.com> Merge "Fix clang-tidy warnings in wilhelm." am: 4d947fe677 am: c6a4757914
am: c627a37073

Change-Id: Id378e4e147c8d4adae3d54e86a4d88d3c9d15b3a
4d947fe6771c1e15e91b19262948b119322028ba 14-Sep-2016 Treehugger Robot <treehugger-gerrit@google.com> Merge "Fix clang-tidy warnings in wilhelm."
9bf773df2b8a0cf788f394c326960bc3a5af7c60 11-Aug-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy warnings in wilhelm.

* Add explicit keyword to conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters.
Bug: 30407689
Test: build with WITH_TIDY=1

Change-Id: Ib37e6760ba21f92bd03e0f7400e54e28817a89b5
/frameworks/wilhelm/src/android/android_Effect.cpp
677c796097b542e9ee6cf43a59e754f43c2370dc 29-Jun-2016 Eric Laurent <elaurent@google.com> Fix pre processor interfaces implementation

- Fix SL_IIDs for AEC, NS and AGS interfaces to match actual
effect type GUIDs.
- Remove IsAvailable() method which did not work because the interface
could not be exposed anyway if the effect was not present
on the device. Also the implementation was linking directly against
the effect factory which is not allowed in non priviledged processes.
- Make pre processor interfaces EXPLICIT instead of OPTIONAL.
- Exit early in AudioRecorder realize if the native AudioRecord creation
fails.
- Add native AudioTrack cleanup in case of error in AudioPlayer realize().

Bug: 4999001

Change-Id: I6235248234491eaa9723cde9de85b965c031571d
/frameworks/wilhelm/src/android/android_Effect.cpp
213c31153b9bda7b5a091f2996da7b655c8ed451 08-Mar-2016 Glenn Kasten <gkasten@google.com> Use audio_session_t consistently

Bug: 27562099
Change-Id: Ie04efb44923fdd2f034b771157fa30dababdfb58
/frameworks/wilhelm/src/android/android_Effect.cpp
aa08cb01d58f1da2d0a2b208aed3bf1730f8f63d 05-Jun-2015 Eric Laurent <elaurent@google.com> Use only strong references to AudioEffect

Do not use raw pointers to native AudioEffect objects.

Bug: 21629892.

Change-Id: Ib6af552503584c5f0532ff6dee2829da6e10ac88
/frameworks/wilhelm/src/android/android_Effect.cpp
ac28eca1df49f581d952ffbda5d3019f7e3b7be6 29-May-2015 Glenn Kasten <gkasten@google.com> Whitespace

Change-Id: Ie9fa59703d90fa0a6d4b83d6d5bd637f53d4058c
/frameworks/wilhelm/src/android/android_Effect.cpp
04e38178473bb0ffdb4759956db60dd86aa7e732 22-Jul-2011 Glenn Kasten <gkasten@google.com> Add static for methods only used locally

Change-Id: I5e7d5c93869b31f75efc9fd3f040df82b67d9efd
/frameworks/wilhelm/src/android/android_Effect.cpp
2523b697aa1fda376c2ccd72680394d359acbd3f 28-Apr-2015 Svet Ganov <svetoslavganov@google.com> Respect the record audio app op - wilhelm

Change-Id: I9fca6f47e91f8b755fed8317878e9e98d1730476
/frameworks/wilhelm/src/android/android_Effect.cpp
759687c36cbeaaa40408960eafa3ffd14e76cbc6 17-May-2014 Ji-Hwan Lee <jihwan@google.com> Fix build on x86_64 targets

Change-Id: Ib60d8552468901af476db61eb7bf666e1ffd81fd
/frameworks/wilhelm/src/android/android_Effect.cpp
f8b3141926967ba37d315cc8d3956d7214958e6b 15-May-2014 Paul McLean <pmclean@google.com> Initial Implementation of new NDK effect interfaces

Support for Acousic Echo Cancellation, Automatic Gain
Control and NoiseSuppression effects on AudioRecorder

Change-Id: I85dcb988f59dacaaed540737018b8f629efeaad3
/frameworks/wilhelm/src/android/android_Effect.cpp
e2e8fa36bd7448b59fbcdf141e0b6d21e5401d91 29-Jul-2011 Glenn Kasten <gkasten@google.com> Comments

Change-Id: I1592d1979ce5f5811ff5a47b4b60db93e8670313
/frameworks/wilhelm/src/android/android_Effect.cpp
3610785fa93586ce84a27a27530feb77b8035229 22-Jul-2011 Glenn Kasten <gkasten@google.com> Bug 5045590 preset reverb on audio players

Aux effects on MediaPlayer audio players (non-AudioTrack) were broken

Change-Id: I5b97bee08d809b12cb9815d6d277934123780581
/frameworks/wilhelm/src/android/android_Effect.cpp
ea429ee1007c36ade812199ad365c0e659e8053f 17-Jun-2011 Eric Laurent <elaurent@google.com> Moved and renamed effect API header files

Moved specific effect header files to
system/media/audio_effects/include/audio_effects and renamed
to lower case (effect_xxx.h).

Change-Id: I8e8f6e3851f12ae8bb380fa714abe26da06d3b58
/frameworks/wilhelm/src/android/android_Effect.cpp
47550bf6cf5cf08a402a54b1589f4b64582a5120 30-Jun-2011 Glenn Kasten <gkasten@google.com> Bug 4980997 Fix the AudioTrack start deadlock

Details:
- Added AudioTrackProxy, a RefBase proxy for AudioTrack
- Call AudioTrack::start() after unlock

Change-Id: Ib1a05ee57f78432eb4c9d3a5bd68dd31a78d6e3e
/frameworks/wilhelm/src/android/android_Effect.cpp
8b565a4139cb37b0682b44cf9a16525ebf6c2058 16-Jun-2011 Eric Laurent <elaurent@google.com> Revert "voice processing"

This reverts commit 7585d227843769079ee2afb385607b3e23ac1e07
/frameworks/wilhelm/src/android/android_Effect.cpp
87c9a6bbe9dabec3d795675ab0ef74a773cc1670 12-Jun-2011 Eric Laurent <elaurent@google.com> voice processing

Change-Id: I0b6129f566349fd333f34773589d5d15c36a7c15
/frameworks/wilhelm/src/android/android_Effect.cpp
10a3840407ac3ed61e7873ee7b86d664ccc6149f 11-May-2011 Dima Zavin <dima@android.com> update for new audio.h header location

Change-Id: I2140f1def08bedd8b2bd5170c6ac5edccb80035c
Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/wilhelm/src/android/android_Effect.cpp
ca39f4b4dbeb920a5b97bd65be73f2f7cac77431 06-Apr-2011 Dima Zavin <dima@android.com> system/media: convert to use new defines from hardware/audio.h

Change-Id: I8f0f0d26e10dbbb4dfbc3b52f1c02737a375c5e0
Signed-off-by: Dima Zavin <dima@android.com>
/frameworks/wilhelm/src/android/android_Effect.cpp
63c002ab68761be0eace98f28320d8eb2f3f7695 28-Mar-2011 Jean-Michel Trivi <jmtrivi@google.com> Clean up main header

There are many includes in sles_allinclusive.h that should be moved
to the files that rely on those headers. This is a first cleanup
to move Android audio effect related headers to where they belong.
+ one relocation for a media server related file. More to come
with AudioPlayer refactoring.

Change-Id: I181dde96db522d9cfb537dffea18ba57f855b99e
/frameworks/wilhelm/src/android/android_Effect.cpp
4e1412ba1d9e74e51a01d34b1c588166d68e4332 25-Jan-2011 Glenn Kasten <gkasten@google.com> Bug 3388299 Fix stack buffer overrun

Change-Id: I22bf369b42faf04ef5bdc7ca8ebca3d31add2ad6
/frameworks/wilhelm/src/android/android_Effect.cpp
262059f71a68edc5e510427c63f5f1623d3672a8 12-Jan-2011 Glenn Kasten <gkasten@google.com> Directory re-organization

Change-Id: I8e3f12a22e765d36ddefd87edf204735b25474f6
/frameworks/wilhelm/src/android/android_Effect.cpp