diff options
author | Eric Laurent <elaurent@google.com> | 2010-07-13 04:45:46 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2010-07-20 10:31:57 -0700 |
commit | 8ed6ed0b6216a9dfcbcd6a5ba6a62d28a901baec (patch) | |
tree | 0969f3a936ab2f1e7493146eece22edf5f2f39ec /media/libeffects/factory | |
parent | ff7049ab2886acc73e145367118646f7741ce333 (diff) | |
download | frameworks_base-8ed6ed0b6216a9dfcbcd6a5ba6a62d28a901baec.zip frameworks_base-8ed6ed0b6216a9dfcbcd6a5ba6a62d28a901baec.tar.gz frameworks_base-8ed6ed0b6216a9dfcbcd6a5ba6a62d28a901baec.tar.bz2 |
Audio policy manager changes for audio effects
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
Diffstat (limited to 'media/libeffects/factory')
-rw-r--r-- | media/libeffects/factory/EffectsFactory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libeffects/factory/EffectsFactory.c b/media/libeffects/factory/EffectsFactory.c index edd6184..0be280c 100644 --- a/media/libeffects/factory/EffectsFactory.c +++ b/media/libeffects/factory/EffectsFactory.c @@ -31,7 +31,7 @@ static list_elem_t *gCurLib; // current library in enumeration process static list_elem_t *gCurEffect; // current effect in enumeration process static uint32_t gCurEffectIdx; // current effect index in enumeration process -static const char * const gEffectLibPath = "/system/lib/soundfx"; // path to built-in effect libraries +const char * const gEffectLibPath = "/system/lib/soundfx"; // path to built-in effect libraries static int gInitDone; // true is global initialization has been preformed static int gNextLibId; // used by loadLibrary() to allocate unique library handles static int gCanQueryEffect; // indicates that call to EffectQueryEffect() is valid, i.e. that the list of effects |