feat: Add SoundGroup operator and localization#1479
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 38c602671d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Children[0].Compose(context); | ||
| var childOutput = context.GetOutputNodes().First(); |
There was a problem hiding this comment.
Guard against empty outputs for single-child groups
When the only child cannot produce a sound source (e.g., missing media), Sound.Compose clears the context and returns without marking any outputs. In that case context.GetOutputNodes().First() will throw InvalidOperationException, so a SoundGroup with one invalid child crashes instead of resulting in silence. Consider checking for an empty output set (like the multi-child path implicitly handles) and clearing/returning when no outputs are present.
Useful? React with 👍 / 👎.
|
The following TODO comments were found: |
Minimum allowed line rate is |
Description
Add a new SoundGroup operator that allows grouping audio elements in the project. This includes the SoundGroup class for audio management and the SoundGroupOperator for handling grouping operations.
Breaking changes
None
Fixed issues
None