summaryrefslogtreecommitdiff
path: root/src/lib/ecore_audio
diff options
context:
space:
mode:
authorDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-03 10:24:44 +0300
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-04-03 10:24:44 +0300
commit3d1323042d2631d822f583f8f64d4d48e56d97c1 (patch)
tree83107d35477836b6e4a19d6eed24d58d9cdbeeb8 /src/lib/ecore_audio
parent653aebb47db5a9bc232ea07145fe36c74534ee3e (diff)
Eolian: use legacy_prefix: null for interfaces.
legacy set to null was used for every function to not generate a legacy API. legacy_prefix set to null indicates no legacy has to be generated for all the class.
Diffstat (limited to 'src/lib/ecore_audio')
-rw-r--r--src/lib/ecore_audio/ecore_audio.eo14
-rw-r--r--src/lib/ecore_audio/ecore_audio_in.eo18
-rw-r--r--src/lib/ecore_audio/ecore_audio_out.eo6
3 files changed, 5 insertions, 33 deletions
diff --git a/src/lib/ecore_audio/ecore_audio.eo b/src/lib/ecore_audio/ecore_audio.eo
index 4f85787f1c..b5dcf99b33 100644
--- a/src/lib/ecore_audio/ecore_audio.eo
+++ b/src/lib/ecore_audio/ecore_audio.eo
@@ -1,5 +1,6 @@
1class Ecore_Audio (Eo_Base) 1class Ecore_Audio (Eo_Base)
2{ 2{
3 legacy_prefix: null;
3 eo_prefix: ecore_audio_obj; 4 eo_prefix: ecore_audio_obj;
4 data: Ecore_Audio_Object; 5 data: Ecore_Audio_Object;
5 properties { 6 properties {
@@ -9,14 +10,12 @@ class Ecore_Audio (Eo_Base)
9 Set the name of the object 10 Set the name of the object
10 11
11 @since 1.8 */ 12 @since 1.8 */
12 legacy null;
13 } 13 }
14 get { 14 get {
15 /*@ 15 /*@
16 Get the name of the object 16 Get the name of the object
17 17
18 @since 1.8 */ 18 @since 1.8 */
19 legacy null;
20 } 19 }
21 values { 20 values {
22 const char *name; 21 const char *name;
@@ -28,14 +27,12 @@ class Ecore_Audio (Eo_Base)
28 Set the pause state of the object 27 Set the pause state of the object
29 28
30 @since 1.8 */ 29 @since 1.8 */
31 legacy null;
32 } 30 }
33 get { 31 get {
34 /*@ 32 /*@
35 Get the pause state of the object 33 Get the pause state of the object
36 34
37 @since 1.8 */ 35 @since 1.8 */
38 legacy null;
39 } 36 }
40 values { 37 values {
41 Eina_Bool paused; /*ret EINA_TRUE if object is paused, EINA_FALSE if not*/ 38 Eina_Bool paused; /*ret EINA_TRUE if object is paused, EINA_FALSE if not*/
@@ -47,14 +44,12 @@ class Ecore_Audio (Eo_Base)
47 Set the volume of the object 44 Set the volume of the object
48 45
49 @since 1.8 */ 46 @since 1.8 */
50 legacy null;
51 } 47 }
52 get { 48 get {
53 /*@ 49 /*@
54 Get the volume of the object 50 Get the volume of the object
55 51
56 @since 1.8 */ 52 @since 1.8 */
57 legacy null;
58 } 53 }
59 values { 54 values {
60 double volume; /*The volume*/ 55 double volume; /*The volume*/
@@ -69,7 +64,6 @@ class Ecore_Audio (Eo_Base)
69 the libsndfile class accepts WAV, OGG, FLAC files as source. 64 the libsndfile class accepts WAV, OGG, FLAC files as source.
70 65
71 @since 1.8 */ 66 @since 1.8 */
72 legacy null;
73 return Eina_Bool; /*EINA_TRUE if the source was set correctly (i.e. the file was opened), EINA_FALSE otherwise*/ 67 return Eina_Bool; /*EINA_TRUE if the source was set correctly (i.e. the file was opened), EINA_FALSE otherwise*/
74 } 68 }
75 get { 69 get {
@@ -77,7 +71,6 @@ class Ecore_Audio (Eo_Base)
77 Get the source of the object 71 Get the source of the object
78 72
79 @since 1.8 */ 73 @since 1.8 */
80 legacy null;
81 } 74 }
82 values { 75 values {
83 const char *source; /*The source to set to (i.e. file, URL, device)*/ 76 const char *source; /*The source to set to (i.e. file, URL, device)*/
@@ -92,7 +85,6 @@ class Ecore_Audio (Eo_Base)
92 ECORE_AUDIO_FORMAT_AUTO 85 ECORE_AUDIO_FORMAT_AUTO
93 86
94 @since 1.8 */ 87 @since 1.8 */
95 legacy null;
96 return Eina_Bool; /*EINA_TRUE if the format was supported, EINA_FALSE otherwise*/ 88 return Eina_Bool; /*EINA_TRUE if the format was supported, EINA_FALSE otherwise*/
97 } 89 }
98 get { 90 get {
@@ -103,7 +95,6 @@ class Ecore_Audio (Eo_Base)
103 function will now return the actual format. 95 function will now return the actual format.
104 96
105 @since 1.8 */ 97 @since 1.8 */
106 legacy null;
107 } 98 }
108 values { 99 values {
109 Ecore_Audio_Format format; /*The format of the object*/ 100 Ecore_Audio_Format format; /*The format of the object*/
@@ -116,7 +107,6 @@ class Ecore_Audio (Eo_Base)
116 Set the virtual IO functions 107 Set the virtual IO functions
117 108
118 @since 1.8 */ 109 @since 1.8 */
119 legacy null;
120 params { 110 params {
121 Ecore_Audio_Vio *vio; /*The @ref Ecore_Audio_Vio struct with the function callbacks*/ 111 Ecore_Audio_Vio *vio; /*The @ref Ecore_Audio_Vio struct with the function callbacks*/
122 void *data; /*User data to pass to the VIO functions*/ 112 void *data; /*User data to pass to the VIO functions*/
@@ -132,4 +122,4 @@ class Ecore_Audio (Eo_Base)
132 virtual::format::set; 122 virtual::format::set;
133 virtual::vio_set; 123 virtual::vio_set;
134 } 124 }
135} \ No newline at end of file 125}
diff --git a/src/lib/ecore_audio/ecore_audio_in.eo b/src/lib/ecore_audio/ecore_audio_in.eo
index 3b8f683e4b..5347c3f614 100644
--- a/src/lib/ecore_audio/ecore_audio_in.eo
+++ b/src/lib/ecore_audio/ecore_audio_in.eo
@@ -1,5 +1,6 @@
1class Ecore_Audio_In (Ecore_Audio) 1class Ecore_Audio_In (Ecore_Audio)
2{ 2{
3 legacy_prefix: null;
3 eo_prefix: ecore_audio_obj_in; 4 eo_prefix: ecore_audio_obj_in;
4 data: Ecore_Audio_Input; 5 data: Ecore_Audio_Input;
5 properties { 6 properties {
@@ -9,14 +10,12 @@ class Ecore_Audio_In (Ecore_Audio)
9 Set the playback speed of the input. 10 Set the playback speed of the input.
10 11
11 @since 1.8 */ 12 @since 1.8 */
12 legacy null;
13 } 13 }
14 get { 14 get {
15 /*@ 15 /*@
16 Get the playback speed of the input. 16 Get the playback speed of the input.
17 17
18 @since 1.8 */ 18 @since 1.8 */
19 legacy null;
20 } 19 }
21 values { 20 values {
22 double speed; /*The speed, 1.0 is the default*/ 21 double speed; /*The speed, 1.0 is the default*/
@@ -28,14 +27,12 @@ class Ecore_Audio_In (Ecore_Audio)
28 Set the sample-rate of the input 27 Set the sample-rate of the input
29 28
30 @since 1.8 */ 29 @since 1.8 */
31 legacy null;
32 } 30 }
33 get { 31 get {
34 /*@ 32 /*@
35 Get the he sample-rate of the input 33 Get the he sample-rate of the input
36 34
37 @since 1.8 */ 35 @since 1.8 */
38 legacy null;
39 } 36 }
40 values { 37 values {
41 int samplerate; /*The samplerate in Hz*/ 38 int samplerate; /*The samplerate in Hz*/
@@ -47,14 +44,12 @@ class Ecore_Audio_In (Ecore_Audio)
47 Set the amount of channels the input has 44 Set the amount of channels the input has
48 45
49 @since 1.8 */ 46 @since 1.8 */
50 legacy null;
51 } 47 }
52 get { 48 get {
53 /*@ 49 /*@
54 Get the amount of channels the input has 50 Get the amount of channels the input has
55 51
56 @since 1.8 */ 52 @since 1.8 */
57 legacy null;
58 } 53 }
59 values { 54 values {
60 int channels; /*The number of channels*/ 55 int channels; /*The number of channels*/
@@ -66,14 +61,12 @@ class Ecore_Audio_In (Ecore_Audio)
66 Set the preloaded state of the input 61 Set the preloaded state of the input
67 62
68 @since 1.8 */ 63 @since 1.8 */
69 legacy null;
70 } 64 }
71 get { 65 get {
72 /*@ 66 /*@
73 Get the the preloaded state of the input 67 Get the the preloaded state of the input
74 68
75 @since 1.8 */ 69 @since 1.8 */
76 legacy null;
77 } 70 }
78 values { 71 values {
79 Eina_Bool preloaded; /*EINA_TRUE if the input should be cached, EINA_FALSE otherwise*/ 72 Eina_Bool preloaded; /*EINA_TRUE if the input should be cached, EINA_FALSE otherwise*/
@@ -89,14 +82,12 @@ class Ecore_Audio_In (Ecore_Audio)
89 will be emitted 82 will be emitted
90 83
91 @since 1.8 */ 84 @since 1.8 */
92 legacy null;
93 } 85 }
94 get { 86 get {
95 /*@ 87 /*@
96 Get the looped state of the input 88 Get the looped state of the input
97 89
98 @since 1.8 */ 90 @since 1.8 */
99 legacy null;
100 } 91 }
101 values { 92 values {
102 Eina_Bool looped; /*EINA_TRUE if the input should be looped, EINA_FALSE otherwise*/ 93 Eina_Bool looped; /*EINA_TRUE if the input should be looped, EINA_FALSE otherwise*/
@@ -111,14 +102,12 @@ class Ecore_Audio_In (Ecore_Audio)
111 (i.e. ECORE_AUDIO_OBJ_IN_TONE_CLASS) 102 (i.e. ECORE_AUDIO_OBJ_IN_TONE_CLASS)
112 103
113 @since 1.8 */ 104 @since 1.8 */
114 legacy null;
115 } 105 }
116 get { 106 get {
117 /*@ 107 /*@
118 Get the length of the input 108 Get the length of the input
119 109
120 @since 1.8 */ 110 @since 1.8 */
121 legacy null;
122 } 111 }
123 values { 112 values {
124 double length; /*The length of the input in seconds*/ 113 double length; /*The length of the input in seconds*/
@@ -130,7 +119,6 @@ class Ecore_Audio_In (Ecore_Audio)
130 Get the output that this input is attached to 119 Get the output that this input is attached to
131 120
132 @since 1.8 */ 121 @since 1.8 */
133 legacy null;
134 } 122 }
135 values { 123 values {
136 Eo *output; /*The output*/ 124 Eo *output; /*The output*/
@@ -142,7 +130,6 @@ class Ecore_Audio_In (Ecore_Audio)
142 Get the remaining time of the input 130 Get the remaining time of the input
143 131
144 @since 1.8 */ 132 @since 1.8 */
145 legacy null;
146 } 133 }
147 values { 134 values {
148 double remaining; /*The amount of time in seconds left to play*/ 135 double remaining; /*The amount of time in seconds left to play*/
@@ -155,7 +142,6 @@ class Ecore_Audio_In (Ecore_Audio)
155 Read from the input 142 Read from the input
156 143
157 @since 1.8 */ 144 @since 1.8 */
158 legacy null;
159 return ssize_t; /*The amount of samples written to buf*/ 145 return ssize_t; /*The amount of samples written to buf*/
160 params { 146 params {
161 @in void *buf; /*The buffer to read into*/ 147 @in void *buf; /*The buffer to read into*/
@@ -167,7 +153,6 @@ class Ecore_Audio_In (Ecore_Audio)
167 Internal read function 153 Internal read function
168 154
169 @since 1.8 */ 155 @since 1.8 */
170 legacy null;
171 return ssize_t; /*The amount of samples written to buf*/ 156 return ssize_t; /*The amount of samples written to buf*/
172 params { 157 params {
173 @in void *buf; /*The buffer to read into*/ 158 @in void *buf; /*The buffer to read into*/
@@ -179,7 +164,6 @@ class Ecore_Audio_In (Ecore_Audio)
179 Seek within the input 164 Seek within the input
180 165
181 @since 1.8 */ 166 @since 1.8 */
182 legacy null;
183 return double; /*The current absolute position in seconds within the input*/ 167 return double; /*The current absolute position in seconds within the input*/
184 params { 168 params {
185 @in double offs; /*The offset in seconds*/ 169 @in double offs; /*The offset in seconds*/
diff --git a/src/lib/ecore_audio/ecore_audio_out.eo b/src/lib/ecore_audio/ecore_audio_out.eo
index 4b9ef89fe8..843309a442 100644
--- a/src/lib/ecore_audio/ecore_audio_out.eo
+++ b/src/lib/ecore_audio/ecore_audio_out.eo
@@ -1,5 +1,6 @@
1class Ecore_Audio_Out (Ecore_Audio) 1class Ecore_Audio_Out (Ecore_Audio)
2{ 2{
3 legacy_prefix: null;
3 eo_prefix: ecore_audio_obj_out; 4 eo_prefix: ecore_audio_obj_out;
4 data: Ecore_Audio_Output; 5 data: Ecore_Audio_Output;
5 methods { 6 methods {
@@ -8,7 +9,6 @@ class Ecore_Audio_Out (Ecore_Audio)
8 Attach an input to an output 9 Attach an input to an output
9 10
10 @since 1.8 */ 11 @since 1.8 */
11 legacy null;
12 return Eina_Bool; /*EINA_TRUE if the input was attached, EINA_FALSE otherwise*/ 12 return Eina_Bool; /*EINA_TRUE if the input was attached, EINA_FALSE otherwise*/
13 params { 13 params {
14 @in Eo *input; /*The input to attach to the output*/ 14 @in Eo *input; /*The input to attach to the output*/
@@ -19,7 +19,6 @@ class Ecore_Audio_Out (Ecore_Audio)
19 Detach an input from an output 19 Detach an input from an output
20 20
21 @since 1.8 */ 21 @since 1.8 */
22 legacy null;
23 return Eina_Bool; /*EINA_TRUE if the input was detached, EINA_FALSE otherwise*/ 22 return Eina_Bool; /*EINA_TRUE if the input was detached, EINA_FALSE otherwise*/
24 params { 23 params {
25 @in Eo *input; /*he input to detach to the output*/ 24 @in Eo *input; /*he input to detach to the output*/
@@ -30,7 +29,6 @@ class Ecore_Audio_Out (Ecore_Audio)
30 Returns the list of all attached inputs 29 Returns the list of all attached inputs
31 30
32 @since 1.8 */ 31 @since 1.8 */
33 legacy null;
34 return Eina_List *; /*An @ref Eina_List of the inputs that are attached to the output*/ 32 return Eina_List *; /*An @ref Eina_List of the inputs that are attached to the output*/
35 } 33 }
36 } 34 }
@@ -39,4 +37,4 @@ class Ecore_Audio_Out (Ecore_Audio)
39 Eo_Base::destructor; 37 Eo_Base::destructor;
40 Ecore_Audio::vio_set; 38 Ecore_Audio::vio_set;
41 } 39 }
42} \ No newline at end of file 40}