From 2b8feba1200ecfa231aa41aed4b6ab9b183d5a05 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 5 Nov 2023 23:27:19 -0800 Subject: modules/playit: add an .IT file music player module Rudimentary .IT file music playback via libplayit. When seekable=on, the file is 100% pre-rendered at context create, then simply copied into the audio queue @ render_audio. When seekable=off, the file is mixed incrementally per-frame @ render_audio in max of bufsize=N_frames increments. The bufsize here basically just determines the maximum time spent rendering audio in a single go, and how much tolerance of frame delays due to slow rendering there will be before dropouts occur. --- src/til.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/til.c') diff --git a/src/til.c b/src/til.c index 0e856a9..9355f5f 100644 --- a/src/til.c +++ b/src/til.c @@ -42,6 +42,7 @@ extern til_module_t montage_module; extern til_module_t pixbounce_module; extern til_module_t plasma_module; extern til_module_t plato_module; +extern til_module_t playit_module; extern til_module_t ray_module; extern til_module_t rkt_module; extern til_module_t roto_module; @@ -81,6 +82,7 @@ static const til_module_t *modules[] = { &pixbounce_module, &plasma_module, &plato_module, + &playit_module, &ray_module, &rkt_module, &roto_module, -- cgit v1.2.1