mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix AF-2614 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Improved audio processing with persistent buffered resampling and thread-local caching for smoother and more reliable sample rate conversion. - **Bug Fixes** - Enhanced handling of stereo and mono audio input, ensuring accurate channel extraction and upmixing. - **Refactor** - Updated internal audio processing logic for better performance and reduced artifacts during audio capture. <!-- end of auto-generated comment: release notes by coderabbit.ai -->