mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-04-26 12:01:43 +00:00
another autogen fix
This commit is contained in:
parent
9c31fa8440
commit
a36955f9e6
2 changed files with 3 additions and 2 deletions
|
|
@ -5862,7 +5862,8 @@ Gets an `audio` stream's loop points in samples
|
|||
| audio | [ModAudio](structs.md#ModAudio) |
|
||||
|
||||
### Returns
|
||||
- None
|
||||
- `integer`
|
||||
- `integer`
|
||||
|
||||
### C Prototype
|
||||
`void audio_stream_get_loop_points(struct ModAudio* audio, RET u64 *loopStart, RET u64 *loopEnd);`
|
||||
|
|
|
|||
|
|
@ -30636,7 +30636,7 @@ int smlua_func_audio_stream_set_loop_points(lua_State* L) {
|
|||
if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter %u for function '%s'", 1, "audio_stream_set_loop_points"); return 0; }
|
||||
s64 loopStart = smlua_to_integer(L, 2);
|
||||
if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter %u for function '%s'", 2, "audio_stream_set_loop_points"); return 0; }
|
||||
s64 loopEnd = (s64) NULL;
|
||||
s64 loopEnd = (s64) 0;
|
||||
if (top >= 3) {
|
||||
loopEnd = smlua_to_integer(L, 3);
|
||||
if (!gSmLuaConvertSuccess) { LOG_LUA("Failed to convert parameter %u for function '%s'", 3, "audio_stream_set_loop_points"); return 0; }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue