summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-25 15:32:53 +0100
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-01-26 11:42:12 +0100
commit015fbac20da75fa944573c8f359b0785c7ffedbd (patch)
treebba605f072b44139b151077407fa1335170a048f /src/lib/ecore_audio
parentdb13fbc4940ee619b1edf47e6bbb745b769a7dcb (diff)
ecore: make ecore_audio_out abstract
ecore_audio does define format and source, those are then used in some leave classes, ecore_audio is only used in the tests, and should not be used externally. Therefore make it abstract. The other missing implementations are in the leave classes, They are resolved with providing empty implementations, since no format switching is supported. ref T5719 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7782
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio_out.eo2
-rw-r--r--src/lib/ecore_audio/ecore_audio_out_pulse.eo2
-rw-r--r--src/lib/ecore_audio/ecore_audio_out_wasapi.eo2
3 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ecore_audio/ecore_audio_out.eo b/src/lib/ecore_audio/ecore_audio_out.eo
index 72d65d1..d50f1c1 100644
--- a/src/lib/ecore_audio/ecore_audio_out.eo
+++ b/src/lib/ecore_audio/ecore_audio_out.eo
@@ -1,4 +1,4 @@
1class Ecore.Audio.Out extends Ecore.Audio 1abstract Ecore.Audio.Out extends Ecore.Audio
2{ 2{
3 [[Ecore Audio output object.]] 3 [[Ecore Audio output object.]]
4 4
diff --git a/src/lib/ecore_audio/ecore_audio_out_pulse.eo b/src/lib/ecore_audio/ecore_audio_out_pulse.eo
index 6d28e7e..ea3940a 100644
--- a/src/lib/ecore_audio/ecore_audio_out_pulse.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_pulse.eo
@@ -7,6 +7,8 @@ class Ecore.Audio.Out.Pulse extends Ecore.Audio.Out
7 Efl.Object.constructor; 7 Efl.Object.constructor;
8 Efl.Object.destructor; 8 Efl.Object.destructor;
9 Ecore.Audio.volume { set; } 9 Ecore.Audio.volume { set; }
10 @empty Ecore.Audio.format { set; get; }
11 @empty Ecore.Audio.source { set; get; }
10 Ecore.Audio.Out.input_attach; 12 Ecore.Audio.Out.input_attach;
11 Ecore.Audio.Out.input_detach; 13 Ecore.Audio.Out.input_detach;
12 } 14 }
diff --git a/src/lib/ecore_audio/ecore_audio_out_wasapi.eo b/src/lib/ecore_audio/ecore_audio_out_wasapi.eo
index 00c503d..c32e9ec 100644
--- a/src/lib/ecore_audio/ecore_audio_out_wasapi.eo
+++ b/src/lib/ecore_audio/ecore_audio_out_wasapi.eo
@@ -7,6 +7,8 @@ class Ecore.Audio.Out.Wasapi extends Ecore.Audio.Out
7 Efl.Object.constructor; 7 Efl.Object.constructor;
8 Efl.Object.destructor; 8 Efl.Object.destructor;
9 Ecore.Audio.volume { set;} 9 Ecore.Audio.volume { set;}
10 @empty Ecore.Audio.format { set; get; }
11 @empty Ecore.Audio.source { set; get; }
10 Ecore.Audio.Out.input_attach; 12 Ecore.Audio.Out.input_attach;
11 Ecore.Audio.Out.input_detach; 13 Ecore.Audio.Out.input_detach;
12 } 14 }