summaryrefslogtreecommitdiffhomepage
path: root/examples/audio
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2020-05-14 14:00:37 +0200
committerraysan5 <[email protected]>2020-05-14 14:00:37 +0200
commit257f232d418cd0e8dc6aef409a16defca044fa1a (patch)
tree5af78932da604a266ea532ddf445f2298def2b8a /examples/audio
parent3a33fe0fd9dae174a244680095c90b264d808416 (diff)
downloadraylib-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')
-rw-r--r--examples/audio/audio_module_playing.c1
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);