From aa8af23f104b857c84c643d1d29fd02084eac00a Mon Sep 17 00:00:00 2001 From: Benedek Szilvasy Date: Tue, 5 Apr 2022 00:00:41 +0200 Subject: Fix string defines generating invalid XML (#2426) --- parser/raylib_api.lua | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) (limited to 'parser/raylib_api.lua') 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 @@ -735,6 +735,11 @@ return { name = "buffer", 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", @@ -6702,15 +6707,6 @@ return { {type = "BoundingBox", name = "box"} } }, - { - 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", @@ -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"} + } } } } -- cgit v1.2.3