diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-01-12 18:45:17 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2018-01-12 22:32:39 +0900 |
commit | 368e0c5d8fb2f6c0fd8bd34b5a64be9dd578bb55 (patch) | |
tree | f5436a074c25a6fa5d3aa305c1ea3e0ec64fcb4a | |
parent | 360ce182efa373598b39225a8458f8e36d110fe1 (diff) | |
download | efl-368e0c5d8fb2f6c0fd8bd34b5a64be9dd578bb55.tar.gz |
ecore_audio - don't about destruction because of failed sndfile load
this means objetcs are only partly destroyed and that is wrong.
@fix
-rw-r--r-- | src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c | 1 | ||||
-rw-r--r-- | src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c | 1 |
2 files changed, 0 insertions, 2 deletions
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 22ad63d758..6af8a9949d 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c +++ b/src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c @@ -203,7 +203,6 @@ _ecore_audio_in_sndfile_efl_object_destructor(Eo *eo_obj, Ecore_Audio_In_Sndfile { Ecore_Audio_Object *ea_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); - if (!ESF_LOAD()) return; if (obj->handle) ESF_CALL(sf_close)(obj->handle); diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c b/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c index ab8ad7ba62..8b5e2160e0 100644 --- a/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c +++ b/src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c @@ -180,7 +180,6 @@ _ecore_audio_out_sndfile_efl_object_destructor(Eo *eo_obj, Ecore_Audio_Out_Sndfi { Ecore_Audio_Output *out_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_OUT_CLASS); - if (!ESF_LOAD()) return; if (obj->handle) ESF_CALL(sf_close)(obj->handle); if (out_obj->write_idler) |