-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve audio processing and logging in AudioBuffer
- Updated SaveAudioAction to use pcmData.Data for audio saving. - Enhanced logging in Write method to include detailed buffer wrap information, including previous and new write indices, and last sample indices. - Improved ReadSegment method to better handle discontinuities, with specific logging for wrapped buffer scenarios and sample index tracking. - Added safety margin adjustment for startTime during buffer wrap events.
- Loading branch information
Showing
2 changed files
with
89 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters