summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean@guyomarch.bzh>2016-06-05 09:26:29 +0200
committerJean Guyomarc'h <jean@guyomarch.bzh>2016-06-05 12:12:02 +0200
commit7bb32abf330c41981d2dae472ff313950ce73a9a (patch)
tree69ff3d8bf73a790fc43b1e5dfb35f30aa1e125b0 /src/lib/ecore_audio
parent4c3b7fb2481a7e6c971e9606c09a5a271ecf5c06 (diff)
ecore_audio: remove useless eo data in core audio
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c16
-rw-r--r--src/lib/ecore_audio/ecore_audio_out_core_audio.eo1
2 files changed, 4 insertions, 13 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c b/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
index aa0d76b5a0..e3217567a5 100644
--- a/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
+++ b/src/lib/ecore_audio/ecore_audio_obj_out_core_audio.c
@@ -50,16 +50,6 @@ typedef struct
50#define MY_CLASS ECORE_AUDIO_OUT_CORE_AUDIO_CLASS 50#define MY_CLASS ECORE_AUDIO_OUT_CORE_AUDIO_CLASS
51#define MY_CLASS_NAME "Ecore_Audio_Out_Core_Audio" 51#define MY_CLASS_NAME "Ecore_Audio_Out_Core_Audio"
52 52
53/*
54 * Unused structure. Only here because of Eolian.
55 * XXX Maybe it is possible to get rid of it.
56 */
57typedef struct
58{
59 void *this_data_is_here_to_silent_warnings;
60} Ecore_Audio_Out_Core_Audio_Data;
61
62
63/*============================================================================* 53/*============================================================================*
64 * Helper API * 54 * Helper API *
65 *============================================================================*/ 55 *============================================================================*/
@@ -216,14 +206,14 @@ _audio_io_proc_cb(AudioObjectID obj_id EINA_UNUSED,
216 *============================================================================*/ 206 *============================================================================*/
217 207
218EOLIAN static void 208EOLIAN static void
219_ecore_audio_out_core_audio_ecore_audio_volume_set(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED, double volume) 209_ecore_audio_out_core_audio_ecore_audio_volume_set(Eo *obj, void *sd EINA_UNUSED, double volume)
220{ 210{
221 // TODO Change volume of playing inputs 211 // TODO Change volume of playing inputs
222 ecore_audio_obj_volume_set(eo_super(obj, MY_CLASS), volume); 212 ecore_audio_obj_volume_set(eo_super(obj, MY_CLASS), volume);
223} 213}
224 214
225EOLIAN static Eina_Bool 215EOLIAN static Eina_Bool
226_ecore_audio_out_core_audio_ecore_audio_out_input_attach(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED, Eo *input) 216_ecore_audio_out_core_audio_ecore_audio_out_input_attach(Eo *obj, void *sd EINA_UNUSED, Eo *input)
227{ 217{
228 Core_Audio_Helper *helper; 218 Core_Audio_Helper *helper;
229 UInt32 channels; 219 UInt32 channels;
@@ -328,7 +318,7 @@ return_failure:
328} 318}
329 319
330EOLIAN static Eina_Bool 320EOLIAN static Eina_Bool
331_ecore_audio_out_core_audio_ecore_audio_out_input_detach(Eo *obj, Ecore_Audio_Out_Core_Audio_Data *sd EINA_UNUSED, Eo *input) 321_ecore_audio_out_core_audio_ecore_audio_out_input_detach(Eo *obj, void *sd EINA_UNUSED, Eo *input)
332{ 322{
333 Core_Audio_Helper *data; 323 Core_Audio_Helper *data;
334 Eina_Bool ret; 324 Eina_Bool ret;
diff --git a/src/lib/ecore_audio/ecore_audio_out_core_audio.eo b/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
index fb0c730951..f417a8b66c 100644
--- a/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_core_audio.eo
@@ -1,6 +1,7 @@
1class Ecore.Audio.Out.Core_Audio (Ecore.Audio.Out) 1class Ecore.Audio.Out.Core_Audio (Ecore.Audio.Out)
2{ 2{
3 [[Ecore audio output for Mac OSX Core Aduio.]] 3 [[Ecore audio output for Mac OSX Core Aduio.]]
4 data: null;
4 eo_prefix: ecore_audio_obj_out_core_audio; 5 eo_prefix: ecore_audio_obj_out_core_audio;
5 implements { 6 implements {
6 Ecore.Audio.volume.set; 7 Ecore.Audio.volume.set;