summaryrefslogtreecommitdiff
path: root/src/til.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-11-05 23:27:19 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-11-14 01:20:56 -0800
commit2b8feba1200ecfa231aa41aed4b6ab9b183d5a05 (patch)
treebcc67fe369e86c200ad0d4a9c7a4c099b6c4aba1 /src/til.c
parent43a0ba4ee53fb0e351be1ef87a60191f2d755464 (diff)
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.
Diffstat (limited to 'src/til.c')
-rw-r--r--src/til.c2
1 files changed, 2 insertions, 0 deletions
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,
© All Rights Reserved