ecore_audio: convert docs
This commit is contained in:
parent
4b0b8960b6
commit
4384efec2e
|
@ -6,16 +6,16 @@ class Ecore_Audio (Eo.Base)
|
||||||
methods {
|
methods {
|
||||||
@property name {
|
@property name {
|
||||||
set {
|
set {
|
||||||
/*@
|
[[Set the name of the object
|
||||||
Set the name of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
/*@
|
[[Get the name of the object
|
||||||
Get the name of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
name: const(char)*;
|
name: const(char)*;
|
||||||
|
@ -23,92 +23,101 @@ class Ecore_Audio (Eo.Base)
|
||||||
}
|
}
|
||||||
@property paused {
|
@property paused {
|
||||||
set {
|
set {
|
||||||
/*@
|
[[Set the pause state of the object
|
||||||
Set the pause state of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
/*@
|
[[Get the pause state of the object
|
||||||
Get the pause state of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
paused: bool; /*@ ret EINA_TRUE if object is paused, EINA_FALSE if not*/
|
paused: bool; [[true if object is paused, false if not]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property volume {
|
@property volume {
|
||||||
set {
|
set {
|
||||||
/*@
|
[[Set the volume of the object
|
||||||
Set the volume of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
/*@
|
[[Get the volume of the object
|
||||||
Get the volume of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
volume: double; /*@ The volume */
|
volume: double; [[the volume]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property source {
|
@property source {
|
||||||
set {
|
set {
|
||||||
/*@
|
[[Set the source of the object
|
||||||
Set the source of the object
|
|
||||||
|
What sources are supported depends on the actual object.
|
||||||
What sources are supported depends on the actual object. For example,
|
For example, the libsndfile class accepts WAV, OGG, FLAC
|
||||||
the libsndfile class accepts WAV, OGG, FLAC files as source.
|
files as source.
|
||||||
|
|
||||||
@since 1.8 */
|
@since 1.8
|
||||||
return: bool; /*@ EINA_TRUE if the source was set correctly (i.e. the file was opened), EINA_FALSE otherwise*/
|
]]
|
||||||
|
return: bool; [[true if the source was set correctly (i.e. the file
|
||||||
|
was opened), EINA_FALSE otherwise
|
||||||
|
]]
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
/*@
|
[[Get the source of the object
|
||||||
Get the source of the object
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
source: const(char)*; /*@ The source to set to (i.e. file, URL, device)*/
|
source: const(char)*; [[the source to set to (i.e. file, URL, device)]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property format {
|
@property format {
|
||||||
set {
|
set {
|
||||||
/*@
|
[[Set the format of the object
|
||||||
Set the format of the object
|
|
||||||
|
What formats are supported depends on the actual object. Default
|
||||||
What formats are supported depends on the actual object. Default is
|
is ECORE_AUDIO_FORMAT_AUTO
|
||||||
ECORE_AUDIO_FORMAT_AUTO
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
return: bool; /*@ EINA_TRUE if the format was supported, EINA_FALSE otherwise*/
|
return: bool; [[true if the format was supported, false otherwise]]
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
/*@
|
[[Get the format of the object
|
||||||
Get the format of the object
|
|
||||||
|
After setting the source if the format was ECORE_AUDIO_FORMAT_AUTO
|
||||||
After setting the source if the format was ECORE_AUDIO_FORMAT_AUTO this
|
this function will now return the actual format.
|
||||||
function will now return the actual format.
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
}
|
}
|
||||||
values {
|
values {
|
||||||
format: Ecore_Audio_Format; /*@ The format of the object*/
|
format: Ecore_Audio_Format; [[the format of the object]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
vio_set {
|
vio_set {
|
||||||
/*@
|
[[Set the virtual IO functions
|
||||||
Set the virtual IO functions
|
|
||||||
|
@since 1.8
|
||||||
@since 1.8 */
|
]]
|
||||||
params {
|
params {
|
||||||
vio: Ecore_Audio_Vio *; /*@ The @ref Ecore_Audio_Vio struct with the function callbacks*/
|
vio: Ecore_Audio_Vio *; [[the @Ecore_Audio_Vio struct with the
|
||||||
data: void *; /*@ User data to pass to the VIO functions*/
|
function callbacks
|
||||||
free_func: eo_key_data_free_func; /*@ This function takes care to clean up @ref data when he VIO is destroyed. NULL means do nothing.*/
|
]]
|
||||||
|
data: void *; [[user data to pass to the VIO functions]]
|
||||||
|
free_func: eo_key_data_free_func; [[this function takes care to
|
||||||
|
clean up @data when he VIO is
|
||||||
|
destroyed. NULL means do
|
||||||
|
nothing.
|
||||||
|
]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,31 +5,31 @@ class Ecore_Audio_Out (Ecore_Audio)
|
||||||
data: Ecore_Audio_Output;
|
data: Ecore_Audio_Output;
|
||||||
methods {
|
methods {
|
||||||
input_attach {
|
input_attach {
|
||||||
/*@
|
[[Attach an input to an output
|
||||||
Attach an input to an output
|
|
||||||
|
|
||||||
@since 1.8 */
|
@since 1.8
|
||||||
return: bool; /*@ EINA_TRUE if the input was attached, EINA_FALSE otherwise*/
|
]]
|
||||||
|
return: bool; [[true if the input was attached, false otherwise]]
|
||||||
params {
|
params {
|
||||||
@in input: Eo *; /*@ The input to attach to the output*/
|
@in input: Eo *; [[The input to attach to the output]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
input_detach {
|
input_detach {
|
||||||
/*@
|
[[Detach an input from an output
|
||||||
Detach an input from an output
|
|
||||||
|
|
||||||
@since 1.8 */
|
@since 1.8
|
||||||
return: bool; /*@ EINA_TRUE if the input was detached, EINA_FALSE otherwise*/
|
]]
|
||||||
|
return: bool; [[true if the input was detached, false otherwise]]
|
||||||
params {
|
params {
|
||||||
@in input: Eo *; /*@ The input to detach to the output*/
|
@in input: Eo *; [[The input to detach to the output]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inputs_get {
|
inputs_get {
|
||||||
/*@
|
[[Returns the list of all attached inputs
|
||||||
Returns the list of all attached inputs
|
|
||||||
|
|
||||||
@since 1.8 */
|
@since 1.8
|
||||||
return: list<Eo*> *; /*@ An @ref Eina_List of the inputs that are attached to the output*/
|
]]
|
||||||
|
return: list<Eo*> *; [[A list of the inputs that are attached to the output]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
implements {
|
implements {
|
||||||
|
|
Loading…
Reference in New Issue