Commit graph

11 commits

Author SHA1 Message Date
A Thousand Ships
a1846b27ea
Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
Maxime Delorme
ea97d4457f Fix order initialization to allow initial_clip to be properly played 2024-12-18 15:24:20 +01:00
Thaddeus Crews
ae38cdbb6d
Merge pull request #95839 from GustJc/interactive_audio_current_playback
Expose `AudioStreamPlaybackInteractive::get_current_clip_index()`.
2024-12-10 14:16:04 -06:00
Gustavo Jaruga Cruz
12f682bdc2 Exposes interactive audio playback current playing clip. 2024-12-10 07:34:02 -03:00
colinator27
0a4dd371b7 Implement get_bar_beats() for AudioStreamSynchronized, fix division by zero 2024-11-16 11:44:53 -05:00
Gustavo Jaruga Cruz
4fa6287de1 Fix interactive audio transitions fade in for clips with auto_advance 2024-08-19 10:54:15 -03:00
Adam Scott
b22783b9b3
Fix new stream types mix() not returning 0 when inactive 2024-07-18 11:18:38 -04:00
A Thousand Ships
be652f160d
[Audio] Prevent crash in interactive playback 2024-07-17 18:58:36 +02:00
Adam Scott
9f605e0187
Fix GCC build failure 2024-03-13 15:02:17 -04:00
Juan Linietsky
43b78cd2ad Add interactive music support
This PR adds 3 types of audio streams used for interactive music support.

* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.

Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00