-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: direct audio proxy file writing
When generating an audio proxy file for an FFmpeg stream, it was first fully decoded and stored in memory before it was written to a file. This was an inefficient waste of memory resources, and proxy files were limited to a size of 2 GiB due to a limitation of .NET's `MemoryStream`. With this change, the files are written directly. They are now limited to 4 GiB due to a limitation of NAudio's `WaveFileWriter`.
- Loading branch information
1 parent
6a99a85
commit 0e1779c
Showing
1 changed file
with
16 additions
and
17 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