Data Fields | |
int(* | get_length )(void *data, Eo *eo_obj) |
Gets the length of the file. More... | |
int(* | seek )(void *data, Eo *eo_obj, int offset, int whence) |
Seeks to a position within the file. More... | |
int(* | tell )(void *data, Eo *eo_obj) |
Gets the current position within the file. More... | |
int(* | read )(void *data, Eo *eo_obj, void *buffer, int length) |
Reads some data from the file. More... | |
int(* | write )(void *data, Eo *eo_obj, const void *buffer, int length) |
Writes some data to the file. More... | |
int(* _Ecore_Audio_Vio::get_length) (void *data, Eo *eo_obj) |
Gets the length of the file.
data | User data from the ecore_audio_obj_set_vio call |
eo_obj | The Ecore_Audio object this operates on |
int(* _Ecore_Audio_Vio::seek) (void *data, Eo *eo_obj, int offset, int whence) |
Seeks to a position within the file.
data | User data from the ecore_audio_obj_set_vio call |
eo_obj | The Ecore_Audio object this operates on |
offset | The number of bytes to move (can be negative) |
whence | Accepts the same values as fseek(), which are: SEEK_SET: offset is absolute SEEK_CUR: offset is relative to the current position SEEK_END: offset is relative to the end |
int(* _Ecore_Audio_Vio::tell) (void *data, Eo *eo_obj) |
Gets the current position within the file.
data | User data from the ecore_audio_obj_set_vio call |
eo_obj | The Ecore_Audio object this operates on |
This is equivalent to calling seek() with offset 0 and whence SEEK_CUR.
int(* _Ecore_Audio_Vio::read) (void *data, Eo *eo_obj, void *buffer, int length) |
Reads some data from the file.
data | User data from the ecore_audio_obj_set_vio call | |
eo_obj | The Ecore_Audio object this operates on | |
[out] | buffer | the buffer to write the data to |
length | The number of bytes to read |
int(* _Ecore_Audio_Vio::write) (void *data, Eo *eo_obj, const void *buffer, int length) |
Writes some data to the file.
data | User data from the ecore_audio_obj_set_vio call |
eo_obj | The Ecore_Audio object this operates on |
buffer | Write data from here to the file |
length | The number of bytes to write |