Recorder fixes

This commit is contained in:
2024-08-30 13:10:49 +01:00
parent dc7e623663
commit c3e3e17c50
18 changed files with 303 additions and 195 deletions

View File

@ -26,7 +26,7 @@ pub async fn listen(path: PathBuf, builder: PipelineBuilder) -> Result<(), anyho
});
if let Ok(mut stream) = tokio::fs::File::open(path).await {
let mut buf = [0u8; 1500];
let mut buf = [0u8; 4096];
loop {
if let Ok(r) = stream.read(&mut buf).await {
if r > 0 {