From 0f43a84551e1fcdc4b9853362dc55141f1a74b87 Mon Sep 17 00:00:00 2001 From: Alex P Date: Mon, 27 Oct 2025 17:28:14 +0200 Subject: [PATCH] fix: remove continuous sleep mode check to prevent audio interference The continuous ensure_sleep_mode_disabled() call in the format detection loop caused repeated I2C transactions to the TC358743, disrupting HDMI audio capture. Sleep mode is already disabled once during video_init(), which is sufficient. --- internal/native/cgo/video.c | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/native/cgo/video.c b/internal/native/cgo/video.c index 917e9163..57131ff7 100644 --- a/internal/native/cgo/video.c +++ b/internal/native/cgo/video.c @@ -752,7 +752,6 @@ void *run_detect_format(void *arg) while (!should_exit) { - ensure_sleep_mode_disabled(); memset(&dv_timings, 0, sizeof(dv_timings)); if (ioctl(sub_dev_fd, VIDIOC_QUERY_DV_TIMINGS, &dv_timings) != 0)