input_api Struct Reference
Functions for inputs. More...
Data Fields | |
| Ecore_Audio_Object *(* | input_new )(Ecore_Audio_Object *in) |
| Create a new input. | |
| void(* | input_del )(Ecore_Audio_Object *in) |
| Free an input. | |
| int(* | input_read )(Ecore_Audio_Object *in, void *data, int len) |
| Read data from an input. | |
| double(* | input_seek )(Ecore_Audio_Object *in, double count, int mode) |
| Seek within an input. | |
| void(* | input_volume_set )(Ecore_Audio_Object *in, double volume) |
| Set the volume. | |
| double(* | input_volume_get )(Ecore_Audio_Object *in) |
| Get the volume. | |
| void(* | input_looped_set )(Ecore_Audio_Object *in, Eina_Bool looped) |
| Eina_Bool(* | input_looped_get )(Ecore_Audio_Object *in) |
| void(* | input_preloaded_set )(Ecore_Audio_Object *in, Eina_Bool preloaded) |
Detailed Description
Functions for inputs.
Field Documentation
| Ecore_Audio_Object*(* input_api::input_new)(Ecore_Audio_Object *in) |
Create a new input.
- Parameters
-
in The input already initialized from ecore_audio_input_new()
- Returns
- The input, NULL on error
Referenced by ecore_audio_input_add().
| void(* input_api::input_del)(Ecore_Audio_Object *in) |
| int(* input_api::input_read)(Ecore_Audio_Object *in, void *data, int len) |
Read data from an input.
- Parameters
-
in The input to read from data A pointer to a buffer where the data is put len The amount of data to read in bytes
Referenced by ecore_audio_input_read().
| double(* input_api::input_seek)(Ecore_Audio_Object *in, double count, int mode) |
Seek within an input.
- Parameters
-
in The input count The amount to seek in seconds mode The mode
- Returns
- The current position in seconds
Referenced by ecore_audio_input_read(), ecore_audio_input_remaining_get(), and ecore_audio_input_seek().
| void(* input_api::input_volume_set)(Ecore_Audio_Object *in, double volume) |
Set the volume.
- Parameters
-
in the input volume the volume
Referenced by ecore_audio_input_volume_set().
| double(* input_api::input_volume_get)(Ecore_Audio_Object *in) |
Get the volume.
- Parameters
-
in the input
- Returns
- the volume
Referenced by ecore_audio_input_volume_get().
