forked from enlightenment/efl
Ecore audio: Correctly namespace now that Eolian supports it better.
Eolian had a restriction due to the C++ generator that classes and namespaces would be named differently. Now that the C++ generator is fixed, eolian dropped the restriction and we can finally fix the wrong namespaces in ecore audio.
This commit is contained in:
parent
26f309112e
commit
05c01867b6
|
@ -1,7 +1,7 @@
|
||||||
type @extern Ecore_Audio_Vio: __undefined_type; /* FIXME: Had function pointer members. */
|
type @extern Ecore.Audio.Vio: __undefined_type; /* FIXME: Had function pointer members. */
|
||||||
type @extern eo_key_data_free_func: __undefined_type; /* FIXME: Function pointers not allowed. */
|
type @extern eo_key_data_free_func: __undefined_type; /* FIXME: Function pointers not allowed. */
|
||||||
|
|
||||||
enum Ecore_Audio_Format {
|
enum Ecore.Audio.Format {
|
||||||
auto, [[Automatically detect the format (for inputs)]]
|
auto, [[Automatically detect the format (for inputs)]]
|
||||||
raw, [[RAW samples (float)]]
|
raw, [[RAW samples (float)]]
|
||||||
wav, [[WAV format]]
|
wav, [[WAV format]]
|
||||||
|
@ -11,7 +11,7 @@ enum Ecore_Audio_Format {
|
||||||
last [[Sentinel value, do not use]]
|
last [[Sentinel value, do not use]]
|
||||||
}
|
}
|
||||||
|
|
||||||
class Ecore_Audio (Eo.Base)
|
class Ecore.Audio (Eo.Base)
|
||||||
{
|
{
|
||||||
[[Convenience audio class.]]
|
[[Convenience audio class.]]
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ class Ecore_Audio (Eo.Base)
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
format: Ecore_Audio_Format; [[the format of the object]]
|
format: Ecore.Audio.Format; [[the format of the object]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
vio_set {
|
vio_set {
|
||||||
|
@ -109,7 +109,7 @@ class Ecore_Audio (Eo.Base)
|
||||||
@since 1.8
|
@since 1.8
|
||||||
]]
|
]]
|
||||||
params {
|
params {
|
||||||
vio: Ecore_Audio_Vio *; [[the \@ref Ecore_Audio_Vio struct with
|
vio: Ecore.Audio.Vio *; [[the @Ecore.Audio.Vio struct with
|
||||||
the function callbacks
|
the function callbacks
|
||||||
]]
|
]]
|
||||||
data: void *; [[user data to pass to the VIO functions]]
|
data: void *; [[user data to pass to the VIO functions]]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Ecore_Audio_In (Ecore_Audio)
|
class Ecore.Audio.In (Ecore.Audio)
|
||||||
{
|
{
|
||||||
[[Ecore Audio input object.]]
|
[[Ecore Audio input object.]]
|
||||||
legacy_prefix: null;
|
legacy_prefix: null;
|
||||||
|
@ -98,7 +98,7 @@ class Ecore_Audio_In (Ecore_Audio)
|
||||||
]]
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
output: Ecore_Audio *; [[The output]] /* FIXME-cyclic Should be Ecore_Audio_Out */
|
output: Ecore.Audio *; [[The output]] /* FIXME-cyclic Should be Ecore.Audio.Out */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property remaining {
|
@property remaining {
|
||||||
|
@ -152,7 +152,7 @@ class Ecore_Audio_In (Ecore_Audio)
|
||||||
implements {
|
implements {
|
||||||
Eo.Base.constructor;
|
Eo.Base.constructor;
|
||||||
Eo.Base.destructor;
|
Eo.Base.destructor;
|
||||||
Ecore_Audio.vio_set;
|
Ecore.Audio.vio_set;
|
||||||
@virtual .preloaded.get;
|
@virtual .preloaded.get;
|
||||||
@virtual .preloaded.set;
|
@virtual .preloaded.set;
|
||||||
@virtual .seek;
|
@virtual .seek;
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
class Ecore_Audio_In_Sndfile (Ecore_Audio_In)
|
class Ecore.Audio.In.Sndfile (Ecore.Audio.In)
|
||||||
{
|
{
|
||||||
[[Ecore Audio sndfile input.]]
|
[[Ecore Audio sndfile input.]]
|
||||||
eo_prefix: ecore_audio_obj_in_sndfile;
|
eo_prefix: ecore_audio_obj_in_sndfile;
|
||||||
implements {
|
implements {
|
||||||
Eo.Base.destructor;
|
Eo.Base.destructor;
|
||||||
Ecore_Audio.source.set;
|
Ecore.Audio.source.set;
|
||||||
Ecore_Audio.source.get;
|
Ecore.Audio.source.get;
|
||||||
Ecore_Audio.format.set;
|
Ecore.Audio.format.set;
|
||||||
Ecore_Audio.format.get;
|
Ecore.Audio.format.get;
|
||||||
Ecore_Audio.vio_set;
|
Ecore.Audio.vio_set;
|
||||||
Ecore_Audio_In.seek;
|
Ecore.Audio.In.seek;
|
||||||
Ecore_Audio_In.read_internal;
|
Ecore.Audio.In.read_internal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Ecore_Audio_In_Tone (Ecore_Audio_In)
|
class Ecore.Audio.In.Tone (Ecore.Audio.In)
|
||||||
{
|
{
|
||||||
[[Ecore Audio tone input.]]
|
[[Ecore Audio tone input.]]
|
||||||
eo_prefix: ecore_audio_obj_in_tone;
|
eo_prefix: ecore_audio_obj_in_tone;
|
||||||
|
@ -6,8 +6,8 @@ class Ecore_Audio_In_Tone (Ecore_Audio_In)
|
||||||
Eo.Base.constructor;
|
Eo.Base.constructor;
|
||||||
Eo.Base.key_data_set;
|
Eo.Base.key_data_set;
|
||||||
Eo.Base.key_data_get;
|
Eo.Base.key_data_get;
|
||||||
Ecore_Audio_In.length.set;
|
Ecore.Audio.In.length.set;
|
||||||
Ecore_Audio_In.seek;
|
Ecore.Audio.In.seek;
|
||||||
Ecore_Audio_In.read_internal;
|
Ecore.Audio.In.read_internal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class Ecore_Audio_Out (Ecore_Audio)
|
class Ecore.Audio.Out (Ecore.Audio)
|
||||||
{
|
{
|
||||||
[[Ecore Audio output object.]]
|
[[Ecore Audio output object.]]
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ class Ecore_Audio_Out (Ecore_Audio)
|
||||||
]]
|
]]
|
||||||
return: bool; [[true if the input was attached, false otherwise]]
|
return: bool; [[true if the input was attached, false otherwise]]
|
||||||
params {
|
params {
|
||||||
@in input: Ecore_Audio_In *; [[The input to attach to the output]]
|
@in input: Ecore.Audio.In *; [[The input to attach to the output]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
input_detach {
|
input_detach {
|
||||||
|
@ -23,7 +23,7 @@ class Ecore_Audio_Out (Ecore_Audio)
|
||||||
]]
|
]]
|
||||||
return: bool; [[true if the input was detached, false otherwise]]
|
return: bool; [[true if the input was detached, false otherwise]]
|
||||||
params {
|
params {
|
||||||
@in input: Ecore_Audio_In *; [[The input to detach to the output]]
|
@in input: Ecore.Audio.In *; [[The input to detach to the output]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inputs_get {
|
inputs_get {
|
||||||
|
@ -31,12 +31,12 @@ class Ecore_Audio_Out (Ecore_Audio)
|
||||||
|
|
||||||
@since 1.8
|
@since 1.8
|
||||||
]]
|
]]
|
||||||
return: list<Ecore_Audio_In*> *; [[A list of the inputs that are attached to the output]]
|
return: list<Ecore.Audio.In*> *; [[A list of the inputs that are attached to the output]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
implements {
|
implements {
|
||||||
Eo.Base.constructor;
|
Eo.Base.constructor;
|
||||||
Eo.Base.destructor;
|
Eo.Base.destructor;
|
||||||
Ecore_Audio.vio_set;
|
Ecore.Audio.vio_set;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
class Ecore_Audio_Out_Core_Audio (Ecore_Audio_Out)
|
class Ecore.Audio.Out.Core_Audio (Ecore.Audio.Out)
|
||||||
{
|
{
|
||||||
[[Ecore audio output for Mac OSX Core Aduio.]]
|
[[Ecore audio output for Mac OSX Core Aduio.]]
|
||||||
eo_prefix: ecore_audio_obj_out_core_audio;
|
eo_prefix: ecore_audio_obj_out_core_audio;
|
||||||
implements {
|
implements {
|
||||||
Ecore_Audio.volume.set;
|
Ecore.Audio.volume.set;
|
||||||
Ecore_Audio_Out.input_attach;
|
Ecore.Audio.Out.input_attach;
|
||||||
Ecore_Audio_Out.input_detach;
|
Ecore.Audio.Out.input_detach;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
class Ecore_Audio_Out_Pulse (Ecore_Audio_Out)
|
class Ecore.Audio.Out.Pulse (Ecore.Audio.Out)
|
||||||
{
|
{
|
||||||
[[Ecore audio ouput for PulseAudio.]]
|
[[Ecore audio ouput for PulseAudio.]]
|
||||||
eo_prefix: ecore_audio_obj_out_pulse;
|
eo_prefix: ecore_audio_obj_out_pulse;
|
||||||
implements {
|
implements {
|
||||||
Eo.Base.constructor;
|
Eo.Base.constructor;
|
||||||
Eo.Base.destructor;
|
Eo.Base.destructor;
|
||||||
Ecore_Audio.volume.set;
|
Ecore.Audio.volume.set;
|
||||||
Ecore_Audio_Out.input_attach;
|
Ecore.Audio.Out.input_attach;
|
||||||
Ecore_Audio_Out.input_detach;
|
Ecore.Audio.Out.input_detach;
|
||||||
}
|
}
|
||||||
events {
|
events {
|
||||||
context,ready; [[Called when the output is ready for playback.]]
|
context,ready; [[Called when the output is ready for playback.]]
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
class Ecore_Audio_Out_Sndfile (Ecore_Audio_Out)
|
class Ecore.Audio.Out.Sndfile (Ecore.Audio.Out)
|
||||||
{
|
{
|
||||||
[[Ecore audio output to the sndfile library.]]
|
[[Ecore audio output to the sndfile library.]]
|
||||||
eo_prefix: ecore_audio_obj_out_sndfile;
|
eo_prefix: ecore_audio_obj_out_sndfile;
|
||||||
implements {
|
implements {
|
||||||
Eo.Base.constructor;
|
Eo.Base.constructor;
|
||||||
Eo.Base.destructor;
|
Eo.Base.destructor;
|
||||||
Ecore_Audio.source.get;
|
Ecore.Audio.source.get;
|
||||||
Ecore_Audio.source.set;
|
Ecore.Audio.source.set;
|
||||||
Ecore_Audio.format.get;
|
Ecore.Audio.format.get;
|
||||||
Ecore_Audio.format.set;
|
Ecore.Audio.format.set;
|
||||||
Ecore_Audio_Out.input_attach;
|
Ecore.Audio.Out.input_attach;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue