Skip to content

rust: Port the raw output audio admission in obs-output.c to obs-output #2449

Closed

Description

@rdoupe

Rust port, round 8 unit 5: the raw output audio admission and capture hookup in libobs/obs-output.c.h, moved to obs-output::raw_audio.

Scope

Rust takes over these decisions:

  • prepare_audio: pass through, wait, drop, and the front cut;
  • default_raw_audio_callback: the start timestamp, the block loop condition, and each block's timestamp;
  • start_raw_audio: every mixer in the mask, or the first;
  • hook_data_capture: which encoded callback, the delay wrap, and which encoders start.

C keeps data_active, the pause mutex and its reads (where they are read today), audio_pause_check, the deques, the pointers and every callback and encoder call. Any divide by a sample rate stays in C.

Plan

The standard six commits:

  1. move;
  2. characterization test;
  3. Tier 1 RED;
  4. GREEN in a libobs.ported-* group;
  5. Tier 3 parity;
  6. docs.

Activity

  1. rdoupe commented on Oct 26, 2026

    @rdoupe
    CollaboratorAuthor

    Claiming: #2449.

  2. added
    ready
    on Oct 26, 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