godotengine / godotengine/godot-docs

Custom AudioStreams documentation refers to function which does not exist

Open
#7,492 1 comment 0 reactions 0 assignees View on GitHub
area:engine details bug
Dominant language
reStructuredText
Stars
5.7k
Forks
3.8k
Avg merge
1d 20h
Merged PRs (30d)
25

Description

**Your Godot version:**
4.0.3

**Issue description:**
I'm attempting to use GDExtension to add a custom audio stream, which is well documented for a module at this page. However, the page references AudioServer::get_singleton()->audio_data_alloc, which I cannot find in any Godot source or in the C++ binding.

I've done a full grep of every cpp file in both, with no results.

I suspect it was removed or replaced at some point, but I'm not sure by what. Worse, I've only got the name to tell me what it's doing; nothing to tell me how this is different from any other allocation. I'll have to go through old code, maybe, to figure it out.

**URL to the documentation page:**
https://docs.godotengine.org/en/stable/contributing/development/core_and_modules/custom_audiostreams.html

I unfortunately do not know what the correct information would be, so I am unable to open a pull request to fix it, myself, at this time. All help is much appreciated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.