-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make
WavWriter
inherit from SampleProcessorBase
.
- Currently it is implemented to consume all samples; any samples into it cannot be retrieved. - Move `PushFrame` to `PushFrameDerived`, which was recently migrated to be compatible with the base-related behavior. - `SampleProcessorBase::Flush` must only be called once. - Take this opportunity to close the header, which allows the convenience of being able to read back the file, before the writer is destroyed. - For convenience and usability, if `SampleProcessorBase::Flush` was not called, then the destructor still finalizes the header (old behavior). - Some member variables are now represented at the base level. - b/389111191: Now that this is a `SampleProcessorBase` we can start migrating to hold a generic post-processor to be used after rendering. PiperOrigin-RevId: 715022459
- Loading branch information
Showing
4 changed files
with
113 additions
and
34 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