diff options
author | Eric Laurent <elaurent@google.com> | 2011-05-31 10:26:00 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-05-31 10:26:00 -0700 |
commit | 923da873c8a5bc1322a6e807c42c60d597ff8e05 (patch) | |
tree | f5841493da26daf36e9414450978e9cb2e65ad31 /include | |
parent | 2032eee0c178a15fd41cebbdec71c7622d2aab23 (diff) | |
parent | 8f18cf55747b8ab138661a841cbb1b2bd19f3d97 (diff) | |
download | frameworks_base-923da873c8a5bc1322a6e807c42c60d597ff8e05.zip frameworks_base-923da873c8a5bc1322a6e807c42c60d597ff8e05.tar.gz frameworks_base-923da873c8a5bc1322a6e807c42c60d597ff8e05.tar.bz2 |
Merge "Removed interface to load audio effects libraries"
Diffstat (limited to 'include')
-rw-r--r-- | include/media/AudioEffect.h | 44 | ||||
-rw-r--r-- | include/media/EffectsFactoryApi.h | 44 | ||||
-rw-r--r-- | include/media/IAudioFlinger.h | 4 |
3 files changed, 0 insertions, 92 deletions
diff --git a/include/media/AudioEffect.h b/include/media/AudioEffect.h index 401638a..dd93fd8 100644 --- a/include/media/AudioEffect.h +++ b/include/media/AudioEffect.h @@ -44,50 +44,6 @@ class AudioEffect : public RefBase public: /* - * Static methods for effect libraries management. - */ - - /* - * Loads the effect library which path is given as first argument. - * This must be the full path of a dynamic library (.so) implementing one or - * more effect engines and exposing the effect library interface described in - * EffectApi.h. The function returns a handle on the library for use by - * further call to unloadEffectLibrary() to unload the library. - * - * Parameters: - * libPath: full path of the dynamic library file in the file system. - * handle: address where to return the library handle - * - * Returned status (from utils/Errors.h) can be: - * NO_ERROR successful operation. - * PERMISSION_DENIED could not get AudioFlinger interface or - * application does not have permission to configure audio - * NO_INIT effect factory not initialized or - * library could not be loaded or - * library does not implement required functions - * BAD_VALUE invalid libPath string or handle - * - * Returned value: - * *handle updated with library handle - */ - static status_t loadEffectLibrary(const char *libPath, int *handle); - - /* - * Unloads the effect library which handle is given as argument. - * - * Parameters: - * handle: library handle - * - * Returned status (from utils/Errors.h) can be: - * NO_ERROR successful operation. - * PERMISSION_DENIED could not get AudioFlinger interface or - * application does not have permission to configure audio - * NO_INIT effect factory not initialized - * BAD_VALUE invalid handle - */ - static status_t unloadEffectLibrary(int handle); - - /* * Static methods for effects enumeration. */ diff --git a/include/media/EffectsFactoryApi.h b/include/media/EffectsFactoryApi.h index b63fac6..8ae13cc 100644 --- a/include/media/EffectsFactoryApi.h +++ b/include/media/EffectsFactoryApi.h @@ -132,50 +132,6 @@ int EffectRelease(effect_handle_t handle); //////////////////////////////////////////////////////////////////////////////// // -// Function: EffectLoadLibrary -// -// Description: Loads the effect library which path is given as first argument. -// This must be the full path of a dynamic library (.so) implementing one or -// more effect engines and exposing the effect library interface described in -// EffectApi.h. The function returns a handle on the library for used by -// further call to EffectUnloadLibrary() to unload the library. -// -// Input: -// libPath: full path of the dynamic library file in the file system. -// -// handle: address where to return the library handle -// -// Output: -// returned value: 0 successful operation. -// -ENODEV effect factory not initialized or -// library could not be loaded or -// library does not implement required functions -// -EINVAL invalid libPath string or handle -// -//////////////////////////////////////////////////////////////////////////////// -int EffectLoadLibrary(const char *libPath, int *handle); - -//////////////////////////////////////////////////////////////////////////////// -// -// Function: EffectUnloadLibrary -// -// Description: Unloads the effect library which handle is given as argument. -// -// Input: -// handle: library handle -// -// Output: -// returned value: 0 successful operation. -// -ENODEV effect factory not initialized -// -ENOENT invalid handle -// -//////////////////////////////////////////////////////////////////////////////// -int EffectUnloadLibrary(int handle); - - - -//////////////////////////////////////////////////////////////////////////////// -// // Function: EffectGetDescriptor // // Description: Returns the descriptor of the effect which uuid is pointed diff --git a/include/media/IAudioFlinger.h b/include/media/IAudioFlinger.h index 75f3e71..d8fdc27 100644 --- a/include/media/IAudioFlinger.h +++ b/include/media/IAudioFlinger.h @@ -139,10 +139,6 @@ public: virtual int newAudioSessionId() = 0; - virtual status_t loadEffectLibrary(const char *libPath, int *handle) = 0; - - virtual status_t unloadEffectLibrary(int handle) = 0; - virtual status_t queryNumberEffects(uint32_t *numEffects) = 0; virtual status_t queryEffect(uint32_t index, effect_descriptor_t *pDescriptor) = 0; |