ecore_audio: use the correct module wrapper
authorJean Guyomarc'h <jean@guyomarch.bzh>
Tue, 2 Aug 2016 19:08:58 +0000 (21:08 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Tue, 2 Aug 2016 19:12:33 +0000 (21:12 +0200)
This was code for sndfile. sndfile module should have been
used instead of the pulseaudio one.
It led to a build break when having sndfile but not pulseaudio.

Ref: 879d93377b219dca00be63f8139fee79b7938147

src/lib/ecore_audio/ecore_audio.c

index fbb5ad0..2a104eb 100644 (file)
@@ -225,7 +225,7 @@ ecore_audio_sndfile_lib_load(void)
 
 #define SYM(x) \
    if (!(ecore_audio_sndfile_lib->x = eina_module_symbol_get(ecore_audio_sndfile_lib->mod, #x))) { \
-      ERR("Cannot find symbol '%s' in'%s", #x, eina_module_file_get(ecore_audio_pulse_lib->mod)); \
+      ERR("Cannot find symbol '%s' in'%s", #x, eina_module_file_get(ecore_audio_sndfile_lib->mod)); \
       goto err; \
    }
    SYM(sf_open);