mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
43b78cd2ad
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.
22 lines
392 B
Python
22 lines
392 B
Python
def can_build(env, platform):
|
|
return True
|
|
|
|
|
|
def configure(env):
|
|
pass
|
|
|
|
|
|
def get_doc_classes():
|
|
return [
|
|
"AudioStreamPlaylist",
|
|
"AudioStreamPlaybackPlaylist",
|
|
"AudioStreamInteractive",
|
|
"AudioStreamPlaybackInteractive",
|
|
"AudioStreamSynchronized",
|
|
"AudioStreamPlaybackSynchronized",
|
|
]
|
|
|
|
|
|
def get_doc_path():
|
|
return "doc_classes"
|