Skip to content

Temp to dev#1260

Merged
ndorin merged 3 commits into
developmentfrom
temp-to-dev
Apr 24, 2025
Merged

Temp to dev#1260
ndorin merged 3 commits into
developmentfrom
temp-to-dev

Conversation

@andrew-welker
Copy link
Copy Markdown
Contributor

No description provided.

Andrew Welker and others added 3 commits April 24, 2025 09:55
In some scenarios when working with NVX, a route is intended to use the
secondary audio (NAX) path instead of the primary audio path. A route
that's both `Video` and `SecondaryAudio` should be considered a
dual-path route instead of a single path.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
fix: check for `SecondaryAudio | Video`
@andrew-welker andrew-welker requested review from Copilot and ndorin April 24, 2025 15:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refines the route selection logic in the GetRouteToSource extension method to properly handle cases with combined Video and SecondaryAudio flags.

  • Updated the conditional check in GetRouteToSource for improved signal type filtering.
Comments suppressed due to low confidence (1)

src/PepperDash.Essentials.Core/Routing/Extensions.cs:72

  • [nitpick] Consider extracting the compound condition into a well-named boolean variable or a dedicated method to improve readability and maintainability.
if (!signalType.HasFlag(eRoutingSignalType.AudioVideo) && 

@ndorin ndorin merged commit be58a0b into development Apr 24, 2025
7 checks passed
@ndorin ndorin deleted the temp-to-dev branch April 24, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants