summaryrefslogtreecommitdiffhomepage
path: root/parser/raylib_api.lua
diff options
context:
space:
mode:
authorBenedek Szilvasy <[email protected]>2022-04-05 00:00:41 +0200
committerGitHub <[email protected]>2022-04-05 00:00:41 +0200
commitaa8af23f104b857c84c643d1d29fd02084eac00a (patch)
treeb325d03a34c23d615a63a106206edb9c6fb6ab12 /parser/raylib_api.lua
parent9c66e2f97ed02338b6a79b12ca638b3a49f5e41d (diff)
downloadraylib-aa8af23f104b857c84c643d1d29fd02084eac00a.tar.gz
raylib-aa8af23f104b857c84c643d1d29fd02084eac00a.zip
Fix string defines generating invalid XML (#2426)
Diffstat (limited to 'parser/raylib_api.lua')
-rw-r--r--parser/raylib_api.lua41
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"}
+ }
}
}
}