-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes the use pattern of
AudioFrameGenerator
- No need to call `AddSamples()` with empty frames to signal the end of substreams -- calling `Finalize()` does it. - No need to call `Finalize()` multiple times to flush remaining frames in the encoders -- remaining frames are automatically handled by `OutputFrames()`. - Calling `AddSamples()` after `Finalize()` or calling `Finalize()` multiple times are OK-- they will just become NOOPs. PiperOrigin-RevId: 691295143
- Loading branch information
Showing
5 changed files
with
211 additions
and
74 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
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.