commit 27eda56e278cb9502bbd5a71fa1d502220d7758d
parent d7b4764bd6903c56612b6f83226ceccd993f89f8
Author: rbckman <rob@tarina.org>
Date: Sun, 17 Dec 2023 21:17:51 +0000
sound and pic sync, gettin there
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -4912,7 +4912,8 @@ def startcamera(lens, fps):
camera.framerate = fps
elif camera_model == 'imx477':
#fps_selection=[5,15,24.985,35,49]
- fps_selection=[5,8,10,11,12,13,14,15,24.985,35,49]
+ #if sound is gettin before pic add 0.001
+ fps_selection=[5,8,10,11,12,13,14,15,24.986,35,49]
fps=fps_selection[fps_selected]
camera.framerate = fps
else: