aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Ecore_Audio.am
diff options
context:
space:
mode:
authorIvan Furs <i.furs@samsung.com>2017-10-03 11:21:07 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-03 11:36:49 -0700
commit7a98f617e94ef42787e06e685a8d5e7be34fff21 (patch)
tree595ff6be26da68a2eca1a690f0fd8bf3b404e2b7 /src/Makefile_Ecore_Audio.am
parentelput: Fix issue of pointer rotation not being set on startup (diff)
downloadefl-7a98f617e94ef42787e06e685a8d5e7be34fff21.tar.gz
ecore_audio: a minimal template for playing sound on WINDOWS is added
Summary: Realization of audio data playback through WASAPI (Windows Audio Session API).(minimal) WASAPI model: 1. Find a playback device (in the default system) 2. Register the client on the playback device. 3. Create a playback format for audio data. 4. Initialize the client with the created format, and access mode, .... 5. Take the object-rendering from the client for play the data stream. 6. Play data stream ecore_audio model: 1. create a object for play the data stream(out object) 2. create a object to receive the data stream(in object) 3. register in the out-object the in-object 4. play data stream Necessary: Realize the ecore_audio object to play the data stream using the WASAPI model. How implemented: 1. The object ecore_audio_out_wasapi is implemented 2. object ecore_audio_out_wasapi - the object constructor is find a playback device (in the default system)(WASAPI) 3. _ecore_audio_out_wasapi_ecore_audio_out_input_attach - register in the out-object the in-object    3.1 Register the client on the playback device.(WASAPI)    3.2 Create a playback format for audio data.(WASAPI)    3.3 Initialize the client with the created format, and access mode, ....(WASAPI) 4. _write_cb - play data    4.1 Take the object-rendering from the client for play the data stream.(WASAPI)    4.2 Play data stream(WASAPI) Reviewers: cedric, vtorri, raster, an.kroitor, NikaWhite, FurryMyad, rimmed, t.naumenko, Jaehyun, bowonryu Reviewed By: vtorri, NikaWhite Subscribers: artem.popov, cedric, jpeg Tags: #windows Differential Revision: https://phab.enlightenment.org/D5029 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Ecore_Audio.am')
-rw-r--r--src/Makefile_Ecore_Audio.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/Makefile_Ecore_Audio.am b/src/Makefile_Ecore_Audio.am
index bd68dd6c4b..c8a1caecc2 100644
--- a/src/Makefile_Ecore_Audio.am
+++ b/src/Makefile_Ecore_Audio.am
@@ -9,7 +9,8 @@ ecore_audio_eolian_files = \
lib/ecore_audio/ecore_audio_in_sndfile.eo \
lib/ecore_audio/ecore_audio_out_sndfile.eo \
lib/ecore_audio/ecore_audio_out_pulse.eo \
- lib/ecore_audio/ecore_audio_in_tone.eo
+ lib/ecore_audio/ecore_audio_in_tone.eo \
+ lib/ecore_audio/ecore_audio_out_wasapi.eo
ecore_audio_eolian_c = $(ecore_audio_eolian_files:%.eo=%.eo.c)
@@ -60,6 +61,14 @@ lib/ecore_audio/ecore_audio_pulse_ml.c \
lib/ecore_audio/ecore_audio_obj_out_pulse.c
endif
+if HAVE_WIN32
+dist_installed_ecoreaudiomainheaders_DATA+= \
+lib/ecore_audio/ecore_audio_obj_out_wasapi.h
+
+lib_ecore_audio_libecore_audio_la_SOURCES += \
+lib/ecore_audio/ecore_audio_obj_out_wasapi.c
+endif
+
if HAVE_ECORE_AUDIO_SNDFILE
lib_ecore_audio_libecore_audio_la_SOURCES += \
lib/ecore_audio/ecore_audio_obj_in_sndfile.c \