32a5f5d53f9fe2ba584d2ecdf3edd487fb4146a7 |
|
22-Dec-2016 |
Mark Salyzyn <salyzyn@google.com> |
resolve merge conflicts of 4532a36 to master Test: build Change-Id: I9b93c4a703c0ee16116be2bea0e6df0606d29363
|
1121dfb5f30a04393ddce02fe7808589fa9e3e25 |
|
22-Dec-2016 |
Mark Salyzyn <salyzyn@google.com> |
Merge "Replace cutils/log.h with either android/log.h or log/log.h" am: a05da2eea4 am: 9e97dc7832 Change-Id: I414954c96ad8b803a0401d416887c9ce167db210
|
60d02077d86d2d1092443519290101f503aa6f7a |
|
29-Sep-2016 |
Mark Salyzyn <salyzyn@google.com> |
Replace cutils/log.h with either android/log.h or log/log.h Test: compile Bug: 31289077 Change-Id: I795a76f978d2213737f1fa908da789c543219b75
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
d074a7d4c5eefc51bbe8918ccf426fa5e4410f95 |
|
10-Nov-2016 |
Andy Hung <hunga@google.com> |
Visualizer: Check capture size and latency parameters am: 9a2732ba0a am: 5e0822f704 am: d21cc13ae6 am: f658db43f4 am: 73dae43026 am: 16303ece70 am: 0c7786ecd8 am: d6b51c0ef9 am: 2b82397960 am: ce6236f931 am: 24232c7bb7 am: b8842b6b87 am: 5a5f57dd13 Change-Id: I05dee2af162237e9492dcf19461150531384c658
|
9a2732ba0a8d609ab040d2c1ddee28577ead9772 |
|
19-Oct-2016 |
Andy Hung <hunga@google.com> |
Visualizer: Check capture size and latency parameters Bug: 31781965 Change-Id: I1c439a0d0f6aa0057b3c651499f28426e1e1f5e4
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
f4a63f6765118754e998fed3ed51d24fa0d0faac |
|
13-Oct-2016 |
rago <rago@google.com> |
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e am: f060479b9a am: bcc7230bb9 Change-Id: If5d6fefb276341472d827bac3f349561f7d1d990
|
bcc7230bb91811c4510f11d0c20d14fa743cc559 |
|
13-Oct-2016 |
rago <rago@google.com> |
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e am: f060479b9a Change-Id: I69eb3819f246e6d807af099f9a0260146cd06fd2
|
874f9e0b8eb0cbe508d15c8c03796c863851f21f |
|
08-Oct-2016 |
rago <rago@google.com> |
Fix potential NULL dereference in Visualizer effect Bug: 30229821 Test: fixing CL. Existing unit tests still pass. Change-Id: I6e4abd759d5d2abc3b391e92e2e18f060cab7af0
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
0c739c59dd1a3d52beb82a353c13b6c853d93f5f |
|
10-Oct-2016 |
Ricardo Garcia <rago@google.com> |
Merge "Fix potential NULL dereference in Visualizer effect"
|
ef225074ea06dc8ac2801b2fb9f4707dcd3f4200 |
|
05-Oct-2016 |
Glenn Kasten <gkasten@google.com> |
Enable strict warnings and fix unused warnings Test: builds without warnings Change-Id: I0701a44cbd9a2adc405a1e253b57df7ee03a90b7
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
b66492c7686193a2d436939c4e046459af4e4bdb |
|
08-Oct-2016 |
rago <rago@google.com> |
Fix potential NULL dereference in Visualizer effect Bug: 30229821 Test: fixing CL. Existing unit tests still pass. Change-Id: I6e4abd759d5d2abc3b391e92e2e18f060cab7af0
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
d40faa10cfa90fef9c81c54d409df941c2e25236 |
|
24-Sep-2016 |
Ting-Yuan Huang <laszio@google.com> |
Fix compiler warnings. Change-Id: I2a00178abf578abafa1f7fb6ee0d812d87cb70f0 Test: mmm frameworks/av/media/libeffects/visualizer/
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
2feb9ce748f9b7b3f844e66aaa76c667a3aeb91c |
|
20-Sep-2016 |
rago <rago@google.com> |
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 am: bad0250dcb Change-Id: I23660e1da14f232ff786f9ab78da3e26f301c1b2
|
bad0250dcb7f79bb1367db1045c6ca6dfc2238ec |
|
20-Sep-2016 |
rago <rago@google.com> |
Fix potential overflow in Visualizer effect am: 46dc714d52 am: 8720f85196 Change-Id: I0803632824e6fc5a70ad6a1ba36743eb11cc3e7e
|
46dc714d523a41a4f886eecbe5b9947a4c900510 |
|
23-Aug-2016 |
rago <rago@google.com> |
Fix potential overflow in Visualizer effect Bug: 30229821 Change-Id: Idd3c1563dc9d3261e6e168e945005bf133ab2cdb (cherry picked from commit 099ab280775946e7c36c73fde47f2ee5a2579f53)
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
099ab280775946e7c36c73fde47f2ee5a2579f53 |
|
23-Aug-2016 |
rago <rago@google.com> |
Fix potential overflow in Visualizer effect Bug: 30229821 Change-Id: Idd3c1563dc9d3261e6e168e945005bf133ab2cdb
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
c655561b3580ae7ba3a721e69ac240606e11fab8 |
|
23-Jun-2015 |
Eric Laurent <elaurent@google.com> |
am 29b83cbb: DO NOT MERGE - audio effects: fix heap overflow * commit '29b83cbb9018e53a18cf6e0fb34893f9774dcb96': DO NOT MERGE - audio effects: fix heap overflow
|
29b83cbb9018e53a18cf6e0fb34893f9774dcb96 |
|
20-Jun-2015 |
Eric Laurent <elaurent@google.com> |
DO NOT MERGE - audio effects: fix heap overflow Check consistency of effect command reply sizes before copying to reply address. Also add null pointer check on reply size. Also remove unused parameter warning. Bug: 21953516. Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
6368e6d23ca27cd59a9a1876d6b5a2301a8657ed |
|
20-Jun-2015 |
Eric Laurent <elaurent@google.com> |
audio effects: fix heap overflow Check consistency of effect command reply sizes before copying to reply address. Also add null pointer check on reply size. Also remove unused parameter warning. Bug: 21953516. Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4 (cherry picked from commit 0f714a464d2425afe00d6450535e763131b40844)
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
0f714a464d2425afe00d6450535e763131b40844 |
|
20-Jun-2015 |
Eric Laurent <elaurent@google.com> |
audio effects: fix heap overflow Check consistency of effect command reply sizes before copying to reply address. Also add null pointer check on reply size. Also remove unused parameter warning. Bug: 21953516. Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
e541269be94f3a1072932d51537905b120ef4733 |
|
16-May-2014 |
Andy Hung <hunga@google.com> |
Use new channel count functions for audio masks Change-Id: Ia658ab4b6320d19fdb50f123c930918724ff0ef3 Signed-off-by: Andy Hung <hunga@google.com>
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
7cb0e733210c2ce7dd2a7c9d32f6d83c4dab9656 |
|
18-Apr-2014 |
Mark Salyzyn <salyzyn@google.com> |
libeffects: 64 bit compile issues Change-Id: I32dd13d307572fee91150f8e113df78924ca0067
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
abb7b17613fff41433cda94207eb535c9fed8fba |
|
17-Jan-2014 |
Ryszard Grzesica <ryszard.grzesica@sonymobile.com> |
Fix preventing from heap overwrite in capture command There was heap usage error in case of stop of audio framework while capturePoint was negative. Pointer to reply data was moved but final silence write was done using original buffer size. Now silence set is done at the beginning under the condition that framework has stopped. Change-Id: I7dab1e922f1813e5fbfd4a64c8b0d15d9465520c
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
5bf2560ce9b70bee077e0c264ac06648f0f63acc |
|
22-Nov-2013 |
The Android Open Source Project <initial-contribution@android.com> |
Merge commit 'b2059ff384eee8ffb70a7ec8fc5570405201c734' into HEAD
|
173f0125bdd54ba325068d51baa5c31c3e685b1e |
|
20-Oct-2013 |
Nick Kralevich <nnk@google.com> |
am 9857473f: am 0f4b0d23: Merge "libeffects: do not use GNU old-style field designators" * commit '9857473f48abf1333ddd3454ab3c916b4e69daa4': libeffects: do not use GNU old-style field designators
|
c9d8ea7f8f9a1ca8ecd266695e3cac423790b2f9 |
|
20-Oct-2013 |
synergydev <synergye@codefi.re> |
libeffects: do not use GNU old-style field designators Not using a GNU extension improves portability Change-Id: I4e8a0376c089828ca4fc7f1aaf3914bfd917d4c5
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
6fbc9ef121b081f888163190bb13cbac31599900 |
|
25-Sep-2013 |
Jean-Michel Trivi <jmtrivi@google.com> |
Fix log typos in Visualizer effect Fix errors in logs for Visualizer. Set loop counters on 32 bits Bug 8413913 Change-Id: Iad2140d003d15d45be46826a5e89baff14fe9e77
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
09647d29eaf429ce88c9c9709ff63dee62f2147a |
|
20-Sep-2013 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add support for level measurements in Visualizer New commands to set a measurement mode and perform peak + RMS measurements. Bug 8413913 Change-Id: Ib25254065c79d365ebb34f9dc9caa0490e2d300d
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
5baf2af52cd186633b7173196c1e4a4cd3435f22 |
|
13-Sep-2013 |
Eric Laurent <elaurent@google.com> |
more support for audio effect offload Offloading of audio effects is now enabled for offloaded output threads. If an effect not supporting offload is enabled, the AudioTrack is invalidated so that it can be recreated in PCM mode. Fix some issues in effect proxy related to handling of effect commands to offloaded and non offloaded effects. Also fixed a bug on capture index in software Visualizer effect. Bug: 8174034. Change-Id: Ib23d3c2d5a652361b0aaec7faee09102f2b18fce
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
7f16b197c76fbae9399242f055a7ee16dcd0fd6d |
|
26-Oct-2012 |
Marco Nelissen <marcone@google.com> |
Only export the symbols that need to be The effects libraries were exporting many more symbols than needed. This reduces the exported symbols to just the needed ones (basically just "AELI"), which happens to also save about 28KB. Change-Id: I115077e52e8dc845282e6f62a522908d26dd72d6
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
655604a7c1ffadc04ec479e4f45345918f44b460 |
|
26-Oct-2012 |
Marco Nelissen <marcone@google.com> |
Only export the symbols that need to be The effects libraries were exporting many more symbols than needed. This reduces the exported symbols to just the needed ones (basically just "AELI"), which happens to also save about 28KB. Change-Id: I115077e52e8dc845282e6f62a522908d26dd72d6
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
6035cb5a61a7606cc8e4ecddec32b2eb37a9fd56 |
|
25-Oct-2012 |
Marco Nelissen <marcone@google.com> |
Switch to new fx library API Change-Id: I6603aef5e3821a8f911e3f33ef8565d04bd1e2e5
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
1bb85d27f09cb01b7e43e08600229258edf16e60 |
|
25-Oct-2012 |
Marco Nelissen <marcone@google.com> |
Switch to new fx library API Change-Id: I6603aef5e3821a8f911e3f33ef8565d04bd1e2e5
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
a189a6883ee55cf62da1d7bf5bf5a8ab501938a4 |
|
20-Feb-2012 |
Glenn Kasten <gkasten@google.com> |
Use struct assignment instead of explicit memcpy for POD structs effect_descriptor_t and effect_config_t Change-Id: Ib2fc47f85fb65ed91b0abb1f87217c49b5eb571d
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
f06c2ed50e1db871ae9eb2bd15a196064f8c278c |
|
06-Jun-2012 |
Marco Nelissen <marcone@google.com> |
Take latency and current time into account for visualization Buffer more data, and return the data that is currently being output from the audio output, to ensure that visualizations are smooth and responsive even when the audio output has a large latency and/or large buffers. b/6522728 Change-Id: I401637f01be7600b3c594a55c869036c13b206c0
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
3476de62fb10e76412452ef4c6bd71936c9f7db1 |
|
16-Apr-2012 |
Jean-Michel Trivi <jmtrivi@google.com> |
Add support for scaling mode parameter Support VISUALIZER_PARAM__SCALING_MODE parameter. Modify process() function to use new volume scaling parameter, used to set whether captured values are maximized by current headroom in the buffer (default existing behaviora) or left as is and thus affected by volume. Modify AudioEffect to allow subclasses to override the following events: control status changed, enable status changed, command executed. In Visualizer class (a subclass of AudioEffect), reset the scaling mode and capture size on the actual effect as cached when control is regained. This will allow the effect to be properly configured whenever Visualizers with different scaling modes or capture sizes are released (e.g. from java release() method). Change-Id: I05cb9f925a296dceca91bafa9fe294ef2b2c2bd5
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
183dc7772d7eba127aab63829c7ca0359d817593 |
|
23-Mar-2012 |
Eric Laurent <elaurent@google.com> |
fix visualizer inactivity detection Current method implemented by the visualizer to detect that audioflinger has stopped providing audio buffers does not work if the application reads pcm captures too fast. The fix consist in implementing a method based on real time measurement only. One drawback is that the new method makes use of system calls that add some overhead to the process and capture functions. Change-Id: I53bd596b856f1cc7f0f47e08413af3335227100b
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
5e92a7861196ddae14638d4b7a63fc4892b7ef59 |
|
30-Jan-2012 |
Glenn Kasten <gkasten@google.com> |
Effect UUID inputs passed by pointer are const Change-Id: I1f5c338bcb7368e3dd8cd5f804b2e6d9fbe087f8
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
5ff1dd576bb93c45b44088a51544a18fc43ebf58 |
|
06-Jan-2012 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/157065 Bug: 5449033 Change-Id: I00a4b904f9449e6f93b7fd35eac28640d7929e69
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
3d5188bd6abe55898f10a0edf3c05aff8aa2ef67 |
|
17-Dec-2011 |
Eric Laurent <elaurent@google.com> |
audio effects: rename configure command Renamed audio effect library interface command for audio format configuration from EFFECT_CMD_CONFIGURE to EFFECT_CMD_SET_CONFIG. This makes the naming more consistent with other exixsting commands and allow adding a new command to get the configuration (EFFECT_CMD_GET_CONFIG). Same change for reverse channel configuration renamed from EFFECT_CMD_CONFIGURE_REVERSE to EFFECT_CMD_SET_CONFIG_REVERSE. Implemented EFFECT_CMD_GET_CONFIG in exisitng effect libraries. Change-Id: Ia7b1c620f13797fe5aceb3b0b4acbacce09fb067
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
73bb0b9f2922679d057e29e9f502988178554a02 |
|
11-Nov-2011 |
Eric Laurent <elaurent@google.com> |
am 2c29a5cf: am 1f8c6212: Merge "visualizer: reset buffer if playback is idle" into ics-mr1 * commit '2c29a5cf1658532bca4e34f816fa30312241a336': visualizer: reset buffer if playback is idle
|
3df40a093d8d3d211f693e0e3ef4076750cabfea |
|
10-Nov-2011 |
Eric Laurent <elaurent@google.com> |
visualizer: reset buffer if playback is idle Visualizer capture buffer must be reset if audio framework has stopped calling process for a given period of time to get read of residual data from previous captures. Issue 5571920. Change-Id: I6e73f971bb812cdbb2979a3b5e763abab07634eb
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
3856b090cd04ba5dd4a59a12430ed724d5995909 |
|
20-Oct-2011 |
Steve Block <steveblock@google.com> |
Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGE See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
ba7b8f881a9b6b21803752326d2932a3bd42d7cf |
|
18-Jun-2011 |
Eric Laurent <elaurent@google.com> |
Audio Effect API: process reverse stream function Added function to audio effect interface for processing of a reverse stream. This is necessary for audio pre processes like echo cancellation. Change-Id: I6e12d79dbbed6376acdfc79304b8c0ab3f705eae
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
6d8b694d999e9be7d5dcc336535832a80fb6f61f |
|
24-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: Icfc2264bfd013cab0395d7e310ada636b9fe3621
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
e1315cf0b63b4c14a77046519e6b01f6f60d74b0 |
|
18-May-2011 |
Eric Laurent <elaurent@google.com> |
New effect library API Moved and renamed media/EffectApi.h to hardware/audio_effect.h Modified the effect library API to expose a library info structure containing an interface functions table. Also removed enums for audio channels, audio format and devices from effect API and use values from system/audio.h instead. Modified effects factory to support new library interface format and load libraries and efffects listed in audio_effects.conf file. The file audio_effects.conf is first loaded from /vendor/etc and then from /system/etc/audio_effects.conf if not found. Modified existing effect libraries to implement the new library interface. Change-Id: Ie52351e071b6d352fa2fbc06c3846686f8c45df9
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
64c3bdea8cba454d4404baded584ea0f0611b3ee |
|
27-Oct-2010 |
Marco Nelissen <marcone@google.com> |
Fix off-by-two and other bugs in the visualization code. b/3137511 Change-Id: Ic431701e93c025bc417c9742e9af6bb2350c7dd6
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
0fa449cc475580d995e9d56756c3da5507d2b6f6 |
|
24-Sep-2010 |
Eric Laurent <elaurent@google.com> |
Fix error in AudioEffect command status reporting. AudioEffect::command() should not interpret the status returned in pReplyData unless the command is ENABLE or DISABLE. Also fixed: - bug in Visualizer::getWAveForm() status reporting. - wrong initialization value for capture buffer in visualizer engine. Change-Id: I60fb0011f9dba96ee74661dec1e8ef441edcaf35
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
0e75f0f0147baeb6277c3dcc4403cf0201155a99 |
|
21-Sep-2010 |
Eric Laurent <elaurent@google.com> |
Fix issue 2913071. Scale audio signal during capture according to peak level so that returned values on 8 bits contain enough information even for weak signals. Also do not reject requests to enable/disable the visualizer if we are already in the requested state. Change-Id: I07a705619764350834e61f82d161761eab688747
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
25f4395b932fa9859a6e91ba77c5d20d009da64a |
|
28-Jul-2010 |
Eric Laurent <elaurent@google.com> |
Audio effects: modified command() parameter types. The type of the cmd, cmdSize and *pReplySize parameters of the effect control interface command() function have been modified from int to uint32_t. This is more consistent with their role. Change-Id: I84d289fc262d6753747910f06f485597dfee6591
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
f997cabca292d70d078ae828e21c28e6df62995f |
|
19-Jul-2010 |
Eric Laurent <elaurent@google.com> |
Fixed problems in audio effect volume control. 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
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|
2c8e5cab3faa6d360e222b7a6c40a80083d021ac |
|
09-Jul-2010 |
Eric Laurent <elaurent@google.com> |
First submission of audio effect library from NXP software. 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
/frameworks/av/media/libeffects/visualizer/EffectVisualizer.cpp
|