diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-01-25 21:26:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-25 21:26:07 +0100 |
commit | 7f0b5a373aebcfd3f798c05155b70edbe3e3fb20 (patch) | |
tree | 999d57053e4a10c0a9b50147a618d87241721f45 /modules/gdnative/include/videodecoder/godot_videodecoder.h | |
parent | babdffe1740184a6a7727799455fc6d549703756 (diff) | |
parent | 29e5dd06c7b3ccc5f07a805010df63a3cf90c039 (diff) |
Merge pull request #44989 from vnen/gdnative-new-api
New API for GDNative
Diffstat (limited to 'modules/gdnative/include/videodecoder/godot_videodecoder.h')
-rw-r--r-- | modules/gdnative/include/videodecoder/godot_videodecoder.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gdnative/include/videodecoder/godot_videodecoder.h b/modules/gdnative/include/videodecoder/godot_videodecoder.h index e5a2657997..dc2cf5ec07 100644 --- a/modules/gdnative/include/videodecoder/godot_videodecoder.h +++ b/modules/gdnative/include/videodecoder/godot_videodecoder.h @@ -49,11 +49,11 @@ typedef struct const char *(*get_plugin_name)(); const char **(*get_supported_extensions)(int *count); godot_bool (*open_file)(void *, void *); // data struct, and a FileAccess pointer - godot_real (*get_length)(const void *); - godot_real (*get_playback_position)(const void *); - void (*seek)(void *, godot_real); + godot_float (*get_length)(const void *); + godot_float (*get_playback_position)(const void *); + void (*seek)(void *, godot_float); void (*set_audio_track)(void *, godot_int); - void (*update)(void *, godot_real); + void (*update)(void *, godot_float); godot_packed_byte_array *(*get_videoframe)(void *); godot_int (*get_audioframe)(void *, float *, int); godot_int (*get_channels)(const void *); |