summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-02-14 21:14:52 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-02-15 13:11:00 -0500
commit30e52e9413fbd0f108e5ebbd76fcf6b4d08a6760 (patch)
treeb6fbad82c9910688074c1a4304ec3b6b5800823d /src/lib/ecore_audio
parentac909ac04c680955eb6ce78a2c59865953b347bd (diff)
ecore_audio: remove "name" property
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio.eo13
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj.c11
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_pulse.c2
3 files changed, 1 insertions, 25 deletions
diff --git a/src/lib/ecore_audio/ecore_audio.eo b/src/lib/ecore_audio/ecore_audio.eo
index 230804b..988ba00 100644
--- a/src/lib/ecore_audio/ecore_audio.eo
+++ b/src/lib/ecore_audio/ecore_audio.eo
@@ -19,19 +19,6 @@ class Ecore.Audio (Efl.Object)
19 eo_prefix: ecore_audio_obj; 19 eo_prefix: ecore_audio_obj;
20 data: Ecore_Audio_Object; 20 data: Ecore_Audio_Object;
21 methods { 21 methods {
22 @property name {
23 [[Name of the object
24
25 @since 1.8
26 ]]
27 set {
28 }
29 get {
30 }
31 values {
32 name: string; [[Name]]
33 }
34 }
35 @property paused { 22 @property paused {
36 [[Pauses state of the object 23 [[Pauses state of the object
37 24
diff --git a/src/lib/ecore_audio/ecore_audio_obj.c b/src/lib/ecore_audio/ecore_audio_obj.c
index 5c7abe2..e2f3c81 100644
--- a/src/lib/ecore_audio/ecore_audio_obj.c
+++ b/src/lib/ecore_audio/ecore_audio_obj.c
@@ -18,17 +18,6 @@
18#define MY_CLASS ECORE_AUDIO_CLASS 18#define MY_CLASS ECORE_AUDIO_CLASS
19#define MY_CLASS_NAME "Ecore_Audio" 19#define MY_CLASS_NAME "Ecore_Audio"
20 20
21EOLIAN static void
22_ecore_audio_name_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj, const char *name)
23{
24 eina_stringshare_replace(&obj->name, name);
25}
26
27EOLIAN static const char*
28_ecore_audio_name_get(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj)
29{
30 return obj->name;
31}
32 21
33EOLIAN static void 22EOLIAN static void
34_ecore_audio_paused_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj, Eina_Bool paused) 23_ecore_audio_paused_set(Eo *eo_obj EINA_UNUSED, Ecore_Audio_Object *obj, Eina_Bool paused)
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
index 2916de4..5d61e0e 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_pulse.c
@@ -124,7 +124,7 @@ static Eina_Bool _input_attach_internal(Eo *eo_obj, Eo *in)
124 ss.rate = ecore_audio_obj_in_samplerate_get(in); 124 ss.rate = ecore_audio_obj_in_samplerate_get(in);
125 speed = ecore_audio_obj_in_speed_get(in); 125 speed = ecore_audio_obj_in_speed_get(in);
126 ss.channels = ecore_audio_obj_in_channels_get(in); 126 ss.channels = ecore_audio_obj_in_channels_get(in);
127 name = ecore_audio_obj_name_get(in); 127 name = efl_name_get(in);
128 128
129 ss.rate = ss.rate * speed; 129 ss.rate = ss.rate * speed;
130 130