From 47f089e360bfa4615cf801e62a5bc3e8945737aa Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Wed, 11 Dec 2024 23:29:54 -0600 Subject: [PATCH] audio is starting to work --- src/ui/presenter.rs | 92 ++++++++++++++++++++++++++++----------------- 1 file changed, 58 insertions(+), 34 deletions(-) diff --git a/src/ui/presenter.rs b/src/ui/presenter.rs index 833feed..4d295ba 100644 --- a/src/ui/presenter.rs +++ b/src/ui/presenter.rs @@ -2,6 +2,7 @@ use std::{ fs::File, io::BufReader, path::{Path, PathBuf}, + sync::Arc, thread, time::Duration, }; @@ -49,7 +50,7 @@ pub(crate) struct Presenter { pub video: Option