virtualx-engine/modules/minimp3
Juan Linietsky a40fe16866 Implement audio stream playback parameters.
Implements a way for audio stream playback to be configured via parameters
directly in the edited AudioStreamPlayer[2D/3D].

Currently, configuring the playback stream is not possible (or is sometimes hacky
as the user has to obtain the currently played stream, which is not always immediately available).

This PR only implements this new feature to control looping in stream playback instances (a commonly requested feature, which was lost in the transition from Godot 2 to Godot 3).
But the idea is that it can do a lot more:

* If effects are bundled to the stream, control per playback instance parameters such as cutoff or resoance, or any other exposed effect parameter per playback instance.
* For the upcoming interactive music PR (#64488), this exposes an easy way to change the active clip, which was not possible before.
* For the upcoming parametrizable audio support (https://github.com/godotengine/godot-proposals/issues/3394) this allows editing and animating audio graph parameters.

In any case, this PR is required to complete #64488.

Update modules/vorbis/audio_stream_ogg_vorbis.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/minimp3/audio_stream_mp3.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/minimp3/audio_stream_mp3.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update modules/vorbis/audio_stream_ogg_vorbis.h

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update doc/classes/AudioStream.xml

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-01-16 10:31:52 +01:00
..
doc_classes
audio_stream_mp3.cpp Implement audio stream playback parameters. 2024-01-16 10:31:52 +01:00
audio_stream_mp3.h Implement audio stream playback parameters. 2024-01-16 10:31:52 +01:00
config.py Add build option for MP1/MP2 audio format support. 2023-09-30 21:46:59 +02:00
register_types.cpp Correctly register editor-only module classes with the API 2023-12-15 18:58:30 +01:00
register_types.h
resource_importer_mp3.cpp Rename ImportSettings dialogs to have "Dialog" in the name 2023-11-26 22:59:01 -06:00
resource_importer_mp3.h
SCsub Add build option for MP1/MP2 audio format support. 2023-09-30 21:46:59 +02:00