Skip to content

rust: Port obs_source_audio_active in obs-source.c.h to obs-source #4018

Closed

Description

@zackees

Phase 6 child of #444. Port the live public obs_source_audio_active query, preserving its NULL diagnostic and false default and its atomic read of audio_active. No open PR or existing port issue covers this function; Rust monitoring code only implements the setter signal decision. Add actual-library C characterization, extract the C body verbatim in a separate building commit, then Tier 1 RED and Rust GREEN with Tier 3 differential and mutation checks. Validate unchanged Tier 2 on both libraries and identical exports. Register native adapter support per port for standalone Rust-static consumers, and check NULL before calling any field accessor. No public header or existing C test changes. Tier 4 is inapplicable to this local getter.

Activity

  1. added
    ready
    on Nov 8, 2026
  2. zackees commented on Nov 8, 2026

    @zackees
    MemberAuthor

    Claiming: obs_source_audio_active. 1. Characterize the actual-library behavior and extract C verbatim. 2. Commit Tier 1 RED, then implement Rust and differential coverage with per-port native support. 3. Validate both libraries, lint, and queue the PR. First draft PR expected this session.

  3. moved this from In merge queue to Done in obs-rust Multiviewon Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions