summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-05-11 17:20:40 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-19 01:42:26 +0200
commit35bbedc96f158885bf36c741ec402a97a02f52f0 (patch)
treef2891f942765a3264973f7141215b9029350d665 /src/lib/ecore_audio
parent6fdc3794eb933ed28d29a0c8d1b206ddab61b836 (diff)
efl: Add missing event types
Summary: All events must have a type now, otherwise bindings don't know how to handle the event_info field. Most of the missing event types were actually "void" (no event_info present). Some struct definitions had to be moved to eo instead of h files, so they are available to bindings. Some have not, and are marked with FIXME. Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb). In general, there are hundreds of changed files, but mostly to add a type which was not present before, so there's no harm done. Also, A lot of FIXMEs have been added which should be, like, fixed. For example, some events can send different types of event_info, which is very inconvenient (and error prone). Test Plan: make with c# bindings works, make check and make examples work too. Reviewers: cedric, q66, lauromoura Subscribers: zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6169
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_in.eo6
-rw-r--r--src/lib/ecore_audio/ecore_audio_out_pulse.eo4
-rw-r--r--src/lib/ecore_audio/ecore_audio_out_wasapi.eo8
3 files changed, 10 insertions, 8 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_in.eo b/src/lib/ecore_audio/ecore_audio_in.eo
index 6e3fbc0..d46f99d 100644
--- a/src/lib/ecore_audio/ecore_audio_in.eo
+++ b/src/lib/ecore_audio/ecore_audio_in.eo
@@ -155,8 +155,8 @@ class Ecore.Audio.In (Ecore.Audio)
155 Ecore.Audio.vio_set; 155 Ecore.Audio.vio_set;
156 } 156 }
157 events { 157 events {
158 in,looped; [[Called when an input has looped.]] 158 in,looped: void; [[Called when an input has looped.]]
159 in,stopped; [[Called when an input has stopped playing.]] 159 in,stopped: void; [[Called when an input has stopped playing.]]
160 in,samplerate,changed; [[Called when the input samplerate has changed.]] 160 in,samplerate,changed: void; [[Called when the input samplerate has changed.]]
161 } 161 }
162} 162}
diff --git a/src/lib/ecore_audio/ecore_audio_out_pulse.eo b/src/lib/ecore_audio/ecore_audio_out_pulse.eo
index d7a478f..2e97f4e 100644
--- a/src/lib/ecore_audio/ecore_audio_out_pulse.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_pulse.eo
@@ -11,7 +11,7 @@ class Ecore.Audio.Out.Pulse (Ecore.Audio.Out)
11 Ecore.Audio.Out.input_detach; 11 Ecore.Audio.Out.input_detach;
12 } 12 }
13 events { 13 events {
14 context,ready; [[Called when the output is ready for playback.]] 14 context,ready: void; [[Called when the output is ready for playback.]]
15 context,fail; [[Called when context fails.]] 15 context,fail: void; [[Called when context fails.]]
16 } 16 }
17} 17}
diff --git a/src/lib/ecore_audio/ecore_audio_out_wasapi.eo b/src/lib/ecore_audio/ecore_audio_out_wasapi.eo
index fd362f1..14c9127 100644
--- a/src/lib/ecore_audio/ecore_audio_out_wasapi.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_wasapi.eo
@@ -11,8 +11,10 @@ class Ecore.Audio.Out.Wasapi (Ecore.Audio.Out)
11 Ecore.Audio.Out.input_detach; 11 Ecore.Audio.Out.input_detach;
12 } 12 }
13 events { 13 events {
14 context,ready; [[Called when the output is ready for playback.]] 14 /* FIXME: Make sure that this event is actually emitted */
15 context,fail; [[Called when context fails.]] 15 context,ready: void; [[Called when the output is ready for playback.]]
16 stop; [[Called when need to stop.]] 16 /* FIXME: Make sure that this event is actually emitted */
17 context,fail: void; [[Called when context fails.]]
18 stop: void; [[Called when need to stop.]]
17 } 19 }
18} 20}