diff options
| author | raysan5 <[email protected]> | 2020-05-14 14:00:37 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2020-05-14 14:00:37 +0200 |
| commit | 257f232d418cd0e8dc6aef409a16defca044fa1a (patch) | |
| tree | 5af78932da604a266ea532ddf445f2298def2b8a /examples/audio/audio_module_playing.c | |
| parent | 3a33fe0fd9dae174a244680095c90b264d808416 (diff) | |
| download | raylib-257f232d418cd0e8dc6aef409a16defca044fa1a.tar.gz raylib-257f232d418cd0e8dc6aef409a16defca044fa1a.zip | |
WARNING: BREAKING CHANGE: Review audio looping system
Current looping system was broken, `loopCount` has been converted to `bool looping` and user can enable/disable with `music.looping = false`. `SetMusicLoopCount()` has been removed.
Diffstat (limited to 'examples/audio/audio_module_playing.c')
| -rw-r--r-- | examples/audio/audio_module_playing.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/audio/audio_module_playing.c b/examples/audio/audio_module_playing.c index 557fcb09..1bb996a7 100644 --- a/examples/audio/audio_module_playing.c +++ b/examples/audio/audio_module_playing.c @@ -51,6 +51,7 @@ int main(void) } Music music = LoadMusicStream("resources/mini1111.xm"); + music.looping = false; PlayMusicStream(music); |
