Makes a stream loop, or stops it from looping.
- repeating: true to start over each time the end is reached, false to stop there.
sound := load_audio_file("jump.wav");
stream := make_stream(*sound, .MUSIC);
set_repeating(stream, true);
start_playing(stream);This one is only checked to compile, not run.
set_repeating :: (stream: *Sound_Stream, repeating: bool)
Makes a stream loop, or stops it from looping.
Parameters
- stream: *Sound_Stream
- repeating: bool
- true to start over each time the end is reached, false to stop there.
sound := load_audio_file("jump.wav");
stream := make_stream(*sound, .MUSIC);
set_repeating(stream, true);
start_playing(stream);This one is only checked to compile, not run.