Makes a stream to play data. Returns null when the sound is not loaded or has more channels than a stream can take.
- data: a loaded sound.
- category: the group the stream belongs to, for volume control.
make_stream :: (
data: *Sound_Data,
category := Sound_Category.GENERAL_SFX
) -> *Sound_Stream
Makes a stream to play data. Returns null when the sound is not loaded or has more channels than a stream can take.
Parameters
- data: *Sound_Data
- a loaded sound.
- category := Sound_Category.GENERAL_SFX
- the group the stream belongs to, for volume control.