Repository navigation
facade: isolate CoreAudio encoder platform policy - #1607
Merged
Merged
Conversation
zackees
marked this pull request as ready for review
October 21, 2026 06:52
zackees
added a commit
that referenced
this pull request
Oct 23, 2026
…REEN, #1294) #1607 split coreaudio-encoder.core+ into .windows+/.macos+ and moved its platform types under hosts/<os>/; decklink-platform.hpp moved the same way. The cross check still named the old group and lacked the hosts/ include paths, so win-x64 failed at configure and mac-arm64 failed in decklink.
chriscoveries
pushed a commit
to chriscoveries/obsrust-fork
that referenced
this pull request
Oct 23, 2026
…urces exist (obs-rust#1294) (obs-rust#1967) * ci: check that every source cmake/cross names exists (RED, obs-rust#1294) * cmake/cross: follow the coreaudio-encoder and decklink host splits (GREEN, obs-rust#1294) obs-rust#1607 split coreaudio-encoder.core+ into .windows+/.macos+ and moved its platform types under hosts/<os>/; decklink-platform.hpp moved the same way. The cross check still named the old group and lacked the hosts/ include paths, so win-x64 failed at configure and mac-arm64 failed in decklink.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #856. Isolate CoreAudio SDK types/deleters, optional Windows loading and status description behind a host facade. Per-host unity groups keep the shared encoder and host helper in one translation unit, preserving one Windows static import/function-pointer table. The existing imports implementation is byte-unchanged.
The shared encoder and PCH contain no OS selection. Six OS selections moved; the existing three compiler-only conditions (format attribute plus MSVC warning push/pop) remain documented, as the issue explicitly permits. No warning is newly disabled. The ratchet baseline drops its two existing PCH findings; the encoder was already classified as a Windows/macOS module, so its host branches were not separate baseline entries. Focused checks enforce the new shared boundary and retain exactly the three compiler guards.
RED → GREEN
Preserved behavior
Verification
All 87 focused platform/group/ratchet/scope tests pass. Actual-source compiler fixtures cover known/unknown positive/negative status codes, CF conversion success/failure and resource release, optional loader success/failure, log text/severity, registration and shared-pointer disposal/unload. Nine CI path cases check host and shared routing. Pinned formatting and whitespace checks pass.
Full native validation 39556491770 dispatched on GREEN. Native Windows/macOS app/plugin builds and PR CI passed; all native full-run tests passed. Flatpak also passed; the complete full workflow succeeded. Runtime Apple DLL availability/actual AAC encoding is not claimed as tested by the mocked loader fixture; native plugin builds are required separately.
No Rust port or protocol change is involved, so Rust port/protocol tiers do not apply. Native plugin checks and normal merge queue remain required.
Native plugin evidence