summaryrefslogtreecommitdiff
path: root/src/sink
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-12-07 23:47:36 -0500
committerAndrew Opalach <andrew@akon.city> 2024-12-07 23:47:36 -0500
commitd81c406f62e996840d86333b81c41d0ae4aff347 (patch)
tree9e6baf260ec56d14e8931b61936b0d043cb49847 /src/sink
parentd4da3d8a644156b9f24b560eba58a87b912c1fef (diff)
downloadcamu-d81c406f62e996840d86333b81c41d0ae4aff347.tar.gz
camu-d81c406f62e996840d86333b81c41d0ae4aff347.tar.bz2
camu-d81c406f62e996840d86333b81c41d0ae4aff347.zip
Synced list reference 1
This marks a point where the list behavior is at least moderately robust for the skip operation. It includes fixes for multiple deep-rooted issues found by testing with input simulation. Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/sink')
-rw-r--r--src/sink/desktop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sink/desktop.c b/src/sink/desktop.c
index efe835e..11da0f9 100644
--- a/src/sink/desktop.c
+++ b/src/sink/desktop.c
@@ -47,6 +47,9 @@ static void screen_callback(void *userdata, u8 op, void *opaque)
case CAMU_SCREEN_RESEEK:
camu_sink_reseek(&c->sink);
break;
+ case CAMU_SCREEN_UNSET:
+ camu_sink_unset(&c->sink);
+ break;
case CAMU_SCREEN_VOLUME: {
f64 amount = *(f64 *)opaque;
camu_sink_offset_volume(&c->sink, (f32)amount);