summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-12 18:45:17 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2018-01-12 22:32:39 +0900
commit368e0c5d8fb2f6c0fd8bd34b5a64be9dd578bb55 (patch)
treef5436a074c25a6fa5d3aa305c1ea3e0ec64fcb4a /src/lib/ecore_audio
parent360ce182efa373598b39225a8458f8e36d110fe1 (diff)
ecore_audio - don't about destruction because of failed sndfile load
this means objetcs are only partly destroyed and that is wrong. @fix
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_in_sndfile.c1
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_sndfile.c1
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 22ad63d..6af8a99 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
203{ 203{
204 Ecore_Audio_Object *ea_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS); 204 Ecore_Audio_Object *ea_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_CLASS);
205 205
206 if (!ESF_LOAD()) return;
207 if (obj->handle) 206 if (obj->handle)
208 ESF_CALL(sf_close)(obj->handle); 207 ESF_CALL(sf_close)(obj->handle);
209 208
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 ab8ad7b..8b5e216 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
180{ 180{
181 Ecore_Audio_Output *out_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_OUT_CLASS); 181 Ecore_Audio_Output *out_obj = efl_data_scope_get(eo_obj, ECORE_AUDIO_OUT_CLASS);
182 182
183 if (!ESF_LOAD()) return;
184 if (obj->handle) 183 if (obj->handle)
185 ESF_CALL(sf_close)(obj->handle); 184 ESF_CALL(sf_close)(obj->handle);
186 if (out_obj->write_idler) 185 if (out_obj->write_idler)