bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=10ac0c60360cd5e524f7ccdb185240ab9bfffe79
commit 10ac0c60360cd5e524f7ccdb185240ab9bfffe79 Author: Marcel Hollerbach <[email protected]> Date: Tue Jun 19 15:44:35 2018 +0200 ecore_audio: add back function that is stable this function was removed, but should not have been removed. Differential Revision: https://phab.enlightenment.org/D6330 --- src/lib/ecore_audio/Ecore_Audio.h | 17 +++++++++++++++++ src/lib/ecore_audio/ecore_audio.c | 14 ++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/src/lib/ecore_audio/Ecore_Audio.h b/src/lib/ecore_audio/Ecore_Audio.h index f0835805e3..56e137f289 100644 --- a/src/lib/ecore_audio/Ecore_Audio.h +++ b/src/lib/ecore_audio/Ecore_Audio.h @@ -192,6 +192,23 @@ EAPI int ecore_audio_init(void); */ EAPI int ecore_audio_shutdown(void); +//Legacy compatibility code + +/** + * @brief Get the name of the object + * + * @since 1.8 + * + */ +EAPI const char* ecore_audio_obj_name_get(const Ecore_Audio_Object* obj); +/** + * @brief Name of the object + * + * @since 1.8 + * + */ +EAPI void ecore_audio_obj_name_set(Ecore_Audio_Object* obj, const char *name); + #include <ecore_audio_obj.h> #include <ecore_audio_obj_in.h> #include <ecore_audio_obj_out.h> diff --git a/src/lib/ecore_audio/ecore_audio.c b/src/lib/ecore_audio/ecore_audio.c index 33ab4cbfe0..4683415922 100644 --- a/src/lib/ecore_audio/ecore_audio.c +++ b/src/lib/ecore_audio/ecore_audio.c @@ -260,6 +260,20 @@ ecore_audio_sndfile_lib_unload(void) } #endif /* HAVE_SNDFILE */ + +EAPI const char* +ecore_audio_obj_name_get(const Ecore_Audio_Object* obj) +{ + return efl_name_get(obj); +} + +EAPI void +ecore_audio_obj_name_set(Ecore_Audio_Object* obj, const char *name) +{ + efl_name_set(obj, name); +} + + /** * @} */ --
