summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2018-06-19 15:44:35 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-06-19 15:45:33 +0200
commit10ac0c60360cd5e524f7ccdb185240ab9bfffe79 (patch)
tree344e18b0a0e13bb1e0fc35d3311e1c5317b79b06 /src/lib/ecore_audio
parent95852ba5040467c0382d94670fd6d113041e2745 (diff)
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
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/Ecore_Audio.h17
-rw-r--r--src/lib/ecore_audio/ecore_audio.c14
2 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/ecore_audio/Ecore_Audio.h b/src/lib/ecore_audio/Ecore_Audio.h
index f083580..56e137f 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);
192 */ 192 */
193EAPI int ecore_audio_shutdown(void); 193EAPI int ecore_audio_shutdown(void);
194 194
195//Legacy compatibility code
196
197/**
198 * @brief Get the name of the object
199 *
200 * @since 1.8
201 *
202 */
203EAPI const char* ecore_audio_obj_name_get(const Ecore_Audio_Object* obj);
204/**
205 * @brief Name of the object
206 *
207 * @since 1.8
208 *
209 */
210EAPI void ecore_audio_obj_name_set(Ecore_Audio_Object* obj, const char *name);
211
195#include <ecore_audio_obj.h> 212#include <ecore_audio_obj.h>
196#include <ecore_audio_obj_in.h> 213#include <ecore_audio_obj_in.h>
197#include <ecore_audio_obj_out.h> 214#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 33ab4cb..4683415 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)
260} 260}
261#endif /* HAVE_SNDFILE */ 261#endif /* HAVE_SNDFILE */
262 262
263
264EAPI const char*
265ecore_audio_obj_name_get(const Ecore_Audio_Object* obj)
266{
267 return efl_name_get(obj);
268}
269
270EAPI void
271ecore_audio_obj_name_set(Ecore_Audio_Object* obj, const char *name)
272{
273 efl_name_set(obj, name);
274}
275
276
263/** 277/**
264 * @} 278 * @}
265 */ 279 */