Fix string defines generating invalid XML (#2426)

This commit is contained in:
Benedek Szilvasy 2022-04-05 00:00:41 +02:00 committed by GitHub
parent 9c66e2f97e
commit aa8af23f10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 219 additions and 130 deletions

View file

@ -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"}
}
}
}
}