diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-11-13 23:41:08 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-11-14 01:21:02 -0800 |
commit | b7f773ae87ab037b94582005729fc15a22340f97 (patch) | |
tree | 215b203c2253bdee69f63a3da7c3937983ab2979 /src/libs/sig/ops_abs.c | |
parent | 2b8feba1200ecfa231aa41aed4b6ab9b183d5a05 (diff) |
modules/rkt: begin til_audio integrations
- til_audio_seek() when Rocket sets the row
- til_audio_{pause,unpause}() when Rocket (un)pauses
This is of limited use as-is, rkt probably needs a sister concept
of scenes for songs, which similarly to scenes would be selected
by index in a discrete Rocket track.
As-is to make music work one must always incorporate something
like a modules/playit context into the current scene so it always
gets rendered alongside the visuals. That's quite cumbersome and
annoying.
Another possibility would be introducing something like a
"register" built-in that, like "ref", takes a context path, and
maybe something like a pre/post setting. That would put it in
the rendering path of the stream before or after any explicit
renders... Then all one would need is to register a
modules/playit context with the song of interest to have it play,
and create that as any other rkt "scene", and reference its
context from "register" which could bind a tap for controlling
the registered/unregistered state. It needs more fleshing out,
but what's here seems worth merging as-is for now.
Diffstat (limited to 'src/libs/sig/ops_abs.c')
0 files changed, 0 insertions, 0 deletions