mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a40fe16866
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> |
||
---|---|---|
.. | ||
audio | ||
camera | ||
debugger | ||
extensions | ||
movie_writer | ||
navigation | ||
physics_2d | ||
physics_3d | ||
rendering | ||
text | ||
xr | ||
audio_server.cpp | ||
audio_server.h | ||
camera_server.cpp | ||
camera_server.h | ||
display_server_headless.h | ||
display_server.cpp | ||
display_server.h | ||
navigation_server_2d_dummy.h | ||
navigation_server_2d.cpp | ||
navigation_server_2d.h | ||
navigation_server_3d_dummy.h | ||
navigation_server_3d.cpp | ||
navigation_server_3d.h | ||
physics_server_2d_wrap_mt.cpp | ||
physics_server_2d_wrap_mt.h | ||
physics_server_2d.cpp | ||
physics_server_2d.h | ||
physics_server_3d_wrap_mt.cpp | ||
physics_server_3d_wrap_mt.h | ||
physics_server_3d.cpp | ||
physics_server_3d.h | ||
register_server_types.cpp | ||
register_server_types.h | ||
rendering_server.cpp | ||
rendering_server.h | ||
SCsub | ||
server_wrap_mt_common.h | ||
text_server.cpp | ||
text_server.h | ||
xr_server.cpp | ||
xr_server.h |