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
5 changed files with 219 additions and 130 deletions

View File

@@ -735,6 +735,11 @@
"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",
@@ -9645,21 +9650,6 @@
}
]
},
{
"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",
@@ -10433,6 +10423,51 @@
"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"
}
]
}
]
}