jellydn / jellydn/echo-note

perf: Unbounded audio buffer growth

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
0
Avg merge
13d 17h
Merged PRs (30d)
4

Description

## What
Implement circular buffering or streaming write for long audio recordings.

## Why
- Audio recording accumulates samples in unbounded Vec buffers
- Long recordings could theoretically exhaust memory
- Located in audio/mod.rs - mic_data and system_data vectors grow indefinitely
- No protection for recordings longer than 2 hours

## How
- Implement circular buffering with configurable max size
- Or stream-to-disk during recording for very long sessions
- Add recording duration warnings
- Consider chunked recording approach

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.