summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Audio.am
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2015-04-15 16:53:39 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-05-07 09:53:07 +0200
commit62e29b39f4df40fd3c0a6b17f7a16f0f8fc1d0c9 (patch)
treeef94069e64c3d00e792a55fc4bc9147b054cffa1 /src/Makefile_Ecore_Audio.am
parenta53c52dee0a3906d1ed3628396929127bcb665ea (diff)
ecore_audio: integrate Apple's CoreAudio to play sounds on OS X.
Summary: Ecore_Audio now supports Apple's CoreAudio to play sounds read by libsndfile. edje_multisense integrates this new feature to enable PLAY_SAMPLE on OS X. Test Plan: Compiles, links and installs fine on OS X. Run terminology and elementary_test to hear sound played on user input. Reviewers: raster, naguirre, cedric Reviewed By: cedric Subscribers: plamot, cedric Differential Revision: https://phab.enlightenment.org/D2295 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Ecore_Audio.am')
-rw-r--r--src/Makefile_Ecore_Audio.am21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/Makefile_Ecore_Audio.am b/src/Makefile_Ecore_Audio.am
index e87ffb408a..8881f19401 100644
--- a/src/Makefile_Ecore_Audio.am
+++ b/src/Makefile_Ecore_Audio.am
@@ -8,9 +8,17 @@ ecore_audio_eolian_files = \
8 lib/ecore_audio/ecore_audio_out.eo \ 8 lib/ecore_audio/ecore_audio_out.eo \
9 lib/ecore_audio/ecore_audio_in_sndfile.eo \ 9 lib/ecore_audio/ecore_audio_in_sndfile.eo \
10 lib/ecore_audio/ecore_audio_out_sndfile.eo \ 10 lib/ecore_audio/ecore_audio_out_sndfile.eo \
11 lib/ecore_audio/ecore_audio_out_pulse.eo \
12 lib/ecore_audio/ecore_audio_in_tone.eo 11 lib/ecore_audio/ecore_audio_in_tone.eo
13 12
13
14if HAVE_ECORE_AUDIO_PULSE
15ecore_audio_eolian_files += lib/ecore_audio/ecore_audio_out_pulse.eo
16endif
17
18if HAVE_ECORE_AUDIO_CORE_AUDIO
19ecore_audio_eolian_files += lib/ecore_audio/ecore_audio_out_core_audio.eo
20endif
21
14ecore_audio_eolian_c = $(ecore_audio_eolian_files:%.eo=%.eo.c) 22ecore_audio_eolian_c = $(ecore_audio_eolian_files:%.eo=%.eo.c)
15ecore_audio_eolian_h = $(ecore_audio_eolian_files:%.eo=%.eo.h) 23ecore_audio_eolian_h = $(ecore_audio_eolian_files:%.eo=%.eo.h)
16 24
@@ -40,7 +48,7 @@ lib/ecore_audio/ecore_audio_obj_in_tone.h \
40lib/ecore_audio/ecore_audio_protected.h 48lib/ecore_audio/ecore_audio_protected.h
41 49
42nodist_installed_ecoreaudiomainheaders_DATA = $(ecore_audio_eolian_h) 50nodist_installed_ecoreaudiomainheaders_DATA = $(ecore_audio_eolian_h)
43 51
44lib_ecore_audio_libecore_audio_la_SOURCES = \ 52lib_ecore_audio_libecore_audio_la_SOURCES = \
45lib/ecore_audio/ecore_audio.c \ 53lib/ecore_audio/ecore_audio.c \
46lib/ecore_audio/ecore_audio_obj.c \ 54lib/ecore_audio/ecore_audio_obj.c \
@@ -74,6 +82,15 @@ lib/ecore_audio/ecore_audio_obj_out_sndfile.c \
74lib/ecore_audio/ecore_audio_sndfile_vio.c 82lib/ecore_audio/ecore_audio_sndfile_vio.c
75endif 83endif
76 84
85if HAVE_ECORE_AUDIO_CORE_AUDIO
86dist_installed_ecoreaudiomainheaders_DATA += \
87lib/ecore_audio/ecore_audio_obj_out_core_audio.h
88lib_ecore_audio_libecore_audio_la_SOURCES += \
89lib/ecore_audio/ecore_audio_obj_out_core_audio.c
90lib_ecore_audio_libecore_audio_la_LDFLAGS += @coreaudio_ldflags@
91
92endif
93
77endif 94endif
78 95
79if HAVE_ELUA 96if HAVE_ELUA