output_api Struct Reference
Functions for outputs. More...
Data Fields | |
| Ecore_Audio_Object *(* | output_new )(Ecore_Audio_Object *out) |
| Create a new output. | |
| void(* | output_del )(Ecore_Audio_Object *out) |
| Free an output. | |
| void(* | output_volume_set )(Ecore_Audio_Object *out, double vol) |
| Set the volume of the output. | |
| double(* | output_volume_get )(Ecore_Audio_Object *out) |
| Get the volume of the output. | |
| void(* | output_paused_set )(Ecore_Audio_Object *out, Eina_Bool paused) |
| Set the paused state of the output. | |
| Eina_Bool(* | output_add_input )(Ecore_Audio_Object *out, Ecore_Audio_Object *in) |
| Add an input to an output. | |
| Eina_Bool(* | output_del_input )(Ecore_Audio_Object *out, Ecore_Audio_Object *in) |
| Delete an input from an output. | |
| void(* | output_update_input_format )(Ecore_Audio_Object *out, Ecore_Audio_Object *in) |
Detailed Description
Functions for outputs.
Field Documentation
| Ecore_Audio_Object*(* output_api::output_new)(Ecore_Audio_Object *out) |
Create a new output.
- Parameters
-
out The output already initialized from ecore_audio_output_new()
- Returns
- The output, NULL on error
Referenced by ecore_audio_output_add().
| void(* output_api::output_del)(Ecore_Audio_Object *out) |
| void(* output_api::output_volume_set)(Ecore_Audio_Object *out, double vol) |
Set the volume of the output.
- Parameters
-
out The output vol The volume in the range of 0-255
Referenced by ecore_audio_output_volume_set().
| double(* output_api::output_volume_get)(Ecore_Audio_Object *out) |
Get the volume of the output.
- Parameters
-
out The output
- Returns
- vol The volume
Referenced by ecore_audio_output_volume_get().
| void(* output_api::output_paused_set)(Ecore_Audio_Object *out, Eina_Bool paused) |
Set the paused state of the output.
- Parameters
-
out The output paused The paused state
Referenced by ecore_audio_output_paused_set().
| Eina_Bool(* output_api::output_add_input)(Ecore_Audio_Object *out, Ecore_Audio_Object *in) |
Add an input to an output.
- Parameters
-
out The output in The input
- Returns
- EINA_TRUE if the operation was successful, EINA_FALSE otherwise
Referenced by ecore_audio_output_input_add().
| Eina_Bool(* output_api::output_del_input)(Ecore_Audio_Object *out, Ecore_Audio_Object *in) |
Delete an input from an output.
- Parameters
-
out The output in The input
- Returns
- EINA_TRUE if the operation was successful, EINA_FALSE otherwise
Referenced by ecore_audio_output_input_del().
