Custom audiostream boilerplate not compiling. #6170
Labels
area:contributing
Issues and PRs related to the Contributing/Development section of the documentation
bug
Your Godot version:
3.6-beta, Also tried with 3.4.5
Issue description:
I was following the tutorial here: https://docs.godotengine.org/en/3.6/development/cpp/custom_audiostreams.html, but the files don't compile.
The SCsub, config.py, and register_types files are set up according to this: https://docs.godotengine.org/en/3.6/development/cpp/custom_modules_in_cpp.html#doc-custom-modules-in-c
I'm no C++ expert. Why is AudioStreamPlaybackMyTone not declared in this scope? In audiostream_mytone.h it looks like it is declared as "friend class AudioStreamPlaybackMyTone"
I have tried changing the folder name to something other than audiostream, as well as changing AudioStreamMyTone and AudioStreamPlaybackMyTone to see if there was some conflict with existing AudioStream object.
Could the documentation be improved?
URL to the documentation page (if already existing):
https://docs.godotengine.org/en/3.6/development/cpp/custom_audiostreams.html
The text was updated successfully, but these errors were encountered: