summaryrefslogtreecommitdiff
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
parentfa2faff41b0396917b7a1da98a9f262cffc82723 (diff)
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 = \
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 \ 11 lib/ecore_audio/ecore_audio_out_pulse.eo \
12 lib/ecore_audio/ecore_audio_in_tone.eo 12 lib/ecore_audio/ecore_audio_in_tone.eo \
13 lib/ecore_audio/ecore_audio_out_wasapi.eo
13 14
14 15
15ecore_audio_eolian_c = $(ecore_audio_eolian_files:%.eo=%.eo.c) 16ecore_audio_eolian_c = $(ecore_audio_eolian_files:%.eo=%.eo.c)
@@ -60,6 +61,14 @@ lib/ecore_audio/ecore_audio_pulse_ml.c \
60lib/ecore_audio/ecore_audio_obj_out_pulse.c 61lib/ecore_audio/ecore_audio_obj_out_pulse.c
61endif 62endif
62 63
64if HAVE_WIN32
65dist_installed_ecoreaudiomainheaders_DATA+= \
66lib/ecore_audio/ecore_audio_obj_out_wasapi.h
67
68lib_ecore_audio_libecore_audio_la_SOURCES += \
69lib/ecore_audio/ecore_audio_obj_out_wasapi.c
70endif
71
63if HAVE_ECORE_AUDIO_SNDFILE 72if HAVE_ECORE_AUDIO_SNDFILE
64lib_ecore_audio_libecore_audio_la_SOURCES += \ 73lib_ecore_audio_libecore_audio_la_SOURCES += \
65lib/ecore_audio/ecore_audio_obj_in_sndfile.c \ 74lib/ecore_audio/ecore_audio_obj_in_sndfile.c \