summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-19 10:30:11 +0100
committerTom Hacohen <tom@stosb.com>2015-05-20 13:03:23 +0100
commite7ed0bfcedcea87f8645107a8a0775f67227d7c1 (patch)
treebd7eabef32fd3c59fefaaa963a279366229d5272 /src
parent21106fd5f0bb96229f5fc6ff6ccb10eb2d57db3d (diff)
Ecore audio: Remove redundant constructor/destructor.
There's no need to have a constructor/destructor that just do the super call.
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_audio/ecore_audio_in_sndfile.eo1
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c7
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c12
-rw-r--r--src/lib/ecore_audio/ecore_audio_out_core_audio.eo2
4 files changed, 0 insertions, 22 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_in_sndfile.eo b/src/lib/ecore_audio/ecore_audio_in_sndfile.eo
index 8973475142..170b3850e5 100644
--- a/src/lib/ecore_audio/ecore_audio_in_sndfile.eo
+++ b/src/lib/ecore_audio/ecore_audio_in_sndfile.eo
@@ -2,7 +2,6 @@ class Ecore_Audio_In_Sndfile (Ecore_Audio_In)
2{ 2{
3 eo_prefix: ecore_audio_obj_in_sndfile; 3 eo_prefix: ecore_audio_obj_in_sndfile;
4 implements { 4 implements {
5 Eo.Base.constructor;
6 Eo.Base.destructor; 5 Eo.Base.destructor;
7 Ecore_Audio.source.set; 6 Ecore_Audio.source.set;
8 Ecore_Audio.source.get; 7 Ecore_Audio.source.get;
diff --git a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
index f6c725ea18..599ae27391 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c
@@ -195,13 +195,6 @@ _ecore_audio_in_sndfile_ecore_audio_vio_set(Eo *eo_obj, Ecore_Audio_In_Sndfile_D
195} 195}
196 196
197EOLIAN static void 197EOLIAN static void
198_ecore_audio_in_sndfile_eo_base_constructor(Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *_pd EINA_UNUSED)
199{
200 eo_do_super(eo_obj, MY_CLASS, eo_constructor());
201
202}
203
204EOLIAN static void
205_ecore_audio_in_sndfile_eo_base_destructor(Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *obj) 198_ecore_audio_in_sndfile_eo_base_destructor(Eo *eo_obj, Ecore_Audio_In_Sndfile_Data *obj)
206{ 199{
207 Ecore_Audio_Object *ea_obj = eo_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); 200 Ecore_Audio_Object *ea_obj = eo_data_scope_get(eo_obj, ECORE_AUDIO_CLASS);
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c b/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
index d358ec036d..7370f18ec7 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
@@ -216,18 +216,6 @@ _audio_io_proc_cb(AudioObjectID obj_id EINA_UNUSED,
216 *============================================================================*/ 216 *============================================================================*/
217 217
218EOLIAN static void 218EOLIAN static void
219_ecore_audio_out_core_audio_eo_base_constructor(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED)
220{
221 eo_do_super(obj, MY_CLASS, eo_constructor());
222}
223
224EOLIAN static void
225_ecore_audio_out_core_audio_eo_base_destructor(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED)
226{
227 eo_do_super(obj, MY_CLASS, eo_destructor());
228}
229
230EOLIAN static void
231_ecore_audio_out_core_audio_ecore_audio_volume_set(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED, double volume) 219_ecore_audio_out_core_audio_ecore_audio_volume_set(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED, double volume)
232{ 220{
233 // TODO Change volume of playing inputs 221 // TODO Change volume of playing inputs
diff --git a/src/lib/ecore_audio/ecore_audio_out_core_audio.eo b/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
index 13edb4bec7..bbb73624af 100644
--- a/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
@@ -2,8 +2,6 @@ class Ecore_Audio_Out_Core_Audio (Ecore_Audio_Out)
2{ 2{
3 eo_prefix: ecore_audio_obj_out_core_audio; 3 eo_prefix: ecore_audio_obj_out_core_audio;
4 implements { 4 implements {
5 Eo.Base.constructor;
6 Eo.Base.destructor;
7 Ecore_Audio.volume.set; 5 Ecore_Audio.volume.set;
8 Ecore_Audio_Out.input_attach; 6 Ecore_Audio_Out.input_attach;
9 Ecore_Audio_Out.input_detach; 7 Ecore_Audio_Out.input_detach;