From 98467831d1e4558b530a8651c63e66ad4d19315a Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Mon, 8 Jul 2024 23:46:47 +0300 Subject: [PATCH] audio.c: use xm_repeat on play reenty --- src/audio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/audio.c b/src/audio.c index 9e9224c..c836f3b 100644 --- a/src/audio.c +++ b/src/audio.c @@ -154,8 +154,7 @@ static void repeat_audio(struct audio_channel *channel) { } case audio_file_type_xm: { - /* TODO: test */ - xm_seek(channel->context.xm.handle, 0, 0, 0); + xm_restart(channel->context.xm.handle); break; }