-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up
.iamf
file when sequencing fails.
- Context: `PickAndPlace` returns an error code when sequencing fails. In some circumstances it would leave a `.iamf` file even in error conditions. - Create the file immediately before writing to it (instead of in the constructor). - Use a separate internal function for `PickAndPlace` which writes to the file. - Remove the file when that function fails. - b/302470464: Backfill some coverage that `ObuSequencerIamf::PickAndPlace` actually writes files. PiperOrigin-RevId: 690741424
- Loading branch information
Showing
3 changed files
with
162 additions
and
31 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