summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorIvan Furs <i.furs@samsung.com>2017-12-13 10:05:26 -0800
committerCedric BAIL <cedric@osg.samsung.com>2017-12-13 10:27:48 -0800
commit97f79344da31fa49a1869a8b07c1a1bb0cbde566 (patch)
treee706963e03dfa3a2e90c43ae57e1f62f74492a29 /src/lib/ecore_audio
parent53c548a97e8e4274758e6a54b42aa5bea5c68e01 (diff)
ecore_audio: fix using undefined macros
Summary: @T6154 Reviewers: vtorri, cedric, NikaWhite, raster Subscribers: artem.popov, vtorri, jenkins, cedric, jpeg Tags: #windows, #efl Differential Revision: https://phab.enlightenment.org/D5310 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/Ecore_Audio.h12
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_wasapi.c4
2 files changed, 6 insertions, 10 deletions
diff --git a/src/lib/ecore_audio/Ecore_Audio.h b/src/lib/ecore_audio/Ecore_Audio.h
index e508c9a..e562205 100644
--- a/src/lib/ecore_audio/Ecore_Audio.h
+++ b/src/lib/ecore_audio/Ecore_Audio.h
@@ -201,17 +201,9 @@ EAPI int ecore_audio_shutdown(void);
201 201
202#include <ecore_audio_obj_in_tone.h> 202#include <ecore_audio_obj_in_tone.h>
203 203
204#if HAVE_PULSE 204#include <ecore_audio_obj_out_pulse.h>
205# include <ecore_audio_obj_out_pulse.h>
206# define ECORE_AUDIO_OUT_RENDER_CLASS ECORE_AUDIO_OUT_PULSE_CLASS
207# define ECORE_AUDIO_OUT_RENDER_EVENT_CONTEXT_FAIL ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_FAIL
208#endif
209 205
210#if HAVE_WASAPI 206#include <ecore_audio_obj_out_wasapi.h>
211# include <ecore_audio_obj_out_wasapi.h>
212# define ECORE_AUDIO_OUT_RENDER_CLASS ECORE_AUDIO_OUT_WASAPI_CLASS
213# define ECORE_AUDIO_OUT_RENDER_EVENT_CONTEXT_FAIL ECORE_AUDIO_OUT_WASAPI_EVENT_CONTEXT_FAIL
214#endif
215 207
216/** 208/**
217 * @} 209 * @}
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_wasapi.c b/src/lib/ecore_audio/ecore_audio_obj_out_wasapi.c
index 899a0f9..772a826 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_wasapi.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_wasapi.c
@@ -2,6 +2,8 @@
2#include <config.h> 2#include <config.h>
3#endif 3#endif
4 4
5#ifdef _WIN32
6
5#include <stdlib.h> 7#include <stdlib.h>
6#include <stdio.h> 8#include <stdio.h>
7#include <string.h> 9#include <string.h>
@@ -607,3 +609,5 @@ _ecore_audio_out_wasapi_efl_object_destructor(Eo *eo_obj, Ecore_Audio_Out_Wasapi
607} 609}
608 610
609#include "ecore_audio_out_wasapi.eo.c" 611#include "ecore_audio_out_wasapi.eo.c"
612
613#endif /*_WIN32*/