summaryrefslogtreecommitdiffhomepage
path: root/parser/raylib_api.json
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.json
parent9c66e2f97ed02338b6a79b12ca638b3a49f5e41d (diff)
downloadraylib-aa8af23f104b857c84c643d1d29fd02084eac00a.tar.gz
raylib-aa8af23f104b857c84c643d1d29fd02084eac00a.zip
Fix string defines generating invalid XML (#2426)
Diffstat (limited to 'parser/raylib_api.json')
-rw-r--r--parser/raylib_api.json65
1 files changed, 50 insertions, 15 deletions
diff --git a/parser/raylib_api.json b/parser/raylib_api.json
index 7cf8d8b8..5af28c50 100644
--- a/parser/raylib_api.json
+++ b/parser/raylib_api.json
@@ -736,6 +736,11 @@
"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)"
@@ -9646,21 +9651,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",
"returnType": "RayCollision",
@@ -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"
+ }
+ ]
}
]
}