Skip to content

Conversation

@sbooth
Copy link
Owner

@sbooth sbooth commented Feb 11, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 11, 2026 14:19
Copy link
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

Updates internal flag checks in AudioPlayer.mm to use bits::has_none(...) instead of negating bits::has_all(...), aligning the code with the intended semantics for “flag not set” checks.

Changes:

  • Replaced !bits::has_all(flags, SomeFlag) with bits::has_none(flags, SomeFlag) for single-bit flags across decoder cancellation, decoding start, drain-required, and playback-state logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sbooth sbooth merged commit 0c0e3c6 into main Feb 11, 2026
2 checks passed
@sbooth sbooth deleted the has_none branch February 11, 2026 15:44
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.

1 participant