Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AudioOutputUtil::InterleaveSamples method.
Will allow to convert planar audio into interleaved. Currently using FFmpeg's SWR_CONVERT which has a much more extensive range of capabilities. AudioOutputUtil::InterleaveSamples doesn't need to allocate memory, and is much faster and simpler for this straightforward task.
- Loading branch information
Showing
2 changed files
with
96 additions
and
51 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