-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify VoiceRecorder to be able to properly abort a recording.
Previously huge amounts of silence were written in one step. For long multi-channel recordings a joining user might cause hours of silence to be written to disk before the user regained the ability to abort a recording. Now the recorder will only write up to 1s of silence per iteration. If more silence has to be written the corresponding RecordBuffer is re-queued for a later iteration enabling a timely abort. This channel also includes some small refactoring for increasing the readability of the recorder and to remove some warnings.
- Loading branch information
Showing
6 changed files
with
215 additions
and
206 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
Oops, something went wrong.