diff options
author | Marco Nelissen <marcone@google.com> | 2012-10-25 11:03:22 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2012-10-25 11:03:22 -0700 |
commit | b0acad33a7891d38100aa84c673280bbd8c1a90d (patch) | |
tree | 2cbbf8c13c13ec64a2d33e1d20f438383d523a3d /include/hardware/audio_effect.h | |
parent | b397512231f54391953fa9a71d104c9619f5166b (diff) | |
download | hardware_libhardware-b0acad33a7891d38100aa84c673280bbd8c1a90d.zip hardware_libhardware-b0acad33a7891d38100aa84c673280bbd8c1a90d.tar.gz hardware_libhardware-b0acad33a7891d38100aa84c673280bbd8c1a90d.tar.bz2 |
Remove unused methods from fx library API
Change-Id: Ifb1d8b596a34f8413819279c46cb236fd7fb04f4
Diffstat (limited to 'include/hardware/audio_effect.h')
-rw-r--r-- | include/hardware/audio_effect.h | 57 |
1 files changed, 4 insertions, 53 deletions
diff --git a/include/hardware/audio_effect.h b/include/hardware/audio_effect.h index 46e323d..2c8f2e3 100644 --- a/include/hardware/audio_effect.h +++ b/include/hardware/audio_effect.h @@ -873,8 +873,10 @@ typedef struct effect_param_s { // Effect library interface ///////////////////////////////////////////////// -// Effect library interface version 2.0 -#define EFFECT_LIBRARY_API_VERSION EFFECT_MAKE_API_VERSION(2,0) +// Effect library interface version 3.0 +// Note that EffectsFactory.c only checks the major version component, so changes to the minor +// number can only be used for fully backwards compatible changes +#define EFFECT_LIBRARY_API_VERSION EFFECT_MAKE_API_VERSION(3,0) #define AUDIO_EFFECT_LIBRARY_TAG ((('A') << 24) | (('E') << 16) | (('L') << 8) | ('T')) @@ -893,57 +895,6 @@ typedef struct audio_effect_library_s { //////////////////////////////////////////////////////////////////////////////// // - // Function: query_num_effects - // - // Description: Returns the number of different effects exposed by the - // library. Each effect must have a unique effect uuid (see - // effect_descriptor_t). This function together with EffectQueryEffect() - // is used to enumerate all effects present in the library. - // - // Input/Output: - // pNumEffects: address where the number of effects should be returned. - // - // Output: - // returned value: 0 successful operation. - // -ENODEV library failed to initialize - // -EINVAL invalid pNumEffects - // *pNumEffects: updated with number of effects in library - // - //////////////////////////////////////////////////////////////////////////////// - int32_t (*query_num_effects)(uint32_t *pNumEffects); - - //////////////////////////////////////////////////////////////////////////////// - // - // Function: query_effect - // - // Description: Returns the descriptor of the effect engine which index is - // given as argument. - // See effect_descriptor_t for details on effect descriptors. - // This function together with EffectQueryNumberEffects() is used to enumerate all - // effects present in the library. The enumeration sequence is: - // EffectQueryNumberEffects(&num_effects); - // for (i = 0; i < num_effects; i++) - // EffectQueryEffect(i,...); - // - // Input/Output: - // index: index of the effect - // pDescriptor: address where to return the effect descriptor. - // - // Output: - // returned value: 0 successful operation. - // -ENODEV library failed to initialize - // -EINVAL invalid pDescriptor or index - // -ENOSYS effect list has changed since last execution of - // EffectQueryNumberEffects() - // -ENOENT no more effect available - // *pDescriptor: updated with the effect descriptor. - // - //////////////////////////////////////////////////////////////////////////////// - int32_t (*query_effect)(uint32_t index, - effect_descriptor_t *pDescriptor); - - //////////////////////////////////////////////////////////////////////////////// - // // Function: create_effect // // Description: Creates an effect engine of the specified implementation uuid and |