diff options
Diffstat (limited to 'parser/raylib_api.lua')
| -rw-r--r-- | parser/raylib_api.lua | 41 |
1 files changed, 32 insertions, 9 deletions
diff --git a/parser/raylib_api.lua b/parser/raylib_api.lua index 509648a9..00c129a3 100644 --- a/parser/raylib_api.lua +++ b/parser/raylib_api.lua @@ -736,6 +736,11 @@ return { description = "Pointer to internal data used by the audio system" }, { + type = "rAudioProcessor *", + name = "processor", + description = "Pointer to internal data processor, useful for audio effects" + }, + { type = "unsigned int", name = "sampleRate", description = "Frequency (samples per second)" @@ -6703,15 +6708,6 @@ return { } }, { - name = "GetRayCollisionModel", - description = "Get collision info between ray and model", - returnType = "RayCollision", - params = { - {type = "Ray", name = "ray"}, - {type = "Model", name = "model"} - } - }, - { name = "GetRayCollisionMesh", description = "Get collision info between ray and mesh", returnType = "RayCollision", @@ -7211,6 +7207,33 @@ return { params = { {type = "int", name = "size"} } + }, + { + name = "SetAudioStreamCallback", + description = "Audio thread callback to request new data", + returnType = "void", + params = { + {type = "AudioStream", name = "stream"}, + {type = "AudioCallback", name = "callback"} + } + }, + { + name = "AttachAudioStreamProcessor", + description = "", + returnType = "void", + params = { + {type = "AudioStream", name = "stream"}, + {type = "AudioCallback", name = "processor"} + } + }, + { + name = "DetachAudioStreamProcessor", + description = "", + returnType = "void", + params = { + {type = "AudioStream", name = "stream"}, + {type = "AudioCallback", name = "processor"} + } } } } |
