implement repeat in libxm
This commit is contained in:
@@ -30,9 +30,10 @@ struct scene *ingame_scene(struct state *state) {
|
||||
new_scene->world = world_create();
|
||||
new_scene->player = player_create(new_scene->world);
|
||||
|
||||
play_audio_ex("music/test.ogg", "soundtrack", (t_play_audio_args){
|
||||
play_audio_ex("music/repeat-test.xm", "soundtrack", (t_play_audio_args){
|
||||
.volume = 0.8f,
|
||||
.panning = -0.5f
|
||||
.panning = -0.5f,
|
||||
.repeat = true,
|
||||
});
|
||||
|
||||
return (struct scene *)new_scene;
|
||||
|
Reference in New Issue
Block a user