Skip to content

feat: per-instance audio output device selection (physical sessions) #49

Description

@hikaps

What's requested

Ability to assign each player/instance its own audio output device — e.g. route player 2's game audio to one USB soundbar and player 3's to another — so only the assigned instance outputs on the assigned device.

Current behavior

Only the streaming path routes per-instance audio today: a null sink is created per streaming instance (helper CreateNullSink) and GamescopeInstance::buildEnvironment() sets PULSE_SINK to it for Sunshine capture. Physical instances set no sink, so every physical instance plays through the host's default PulseAudio output.

Requested change

Expose output-device selection per physical instance in the session/instance config (enumerate PulseAudio sinks, let the user assign one per instance) and set PULSE_SINK for that instance. The plumbing partially exists (PULSE_SINK is already honored when a sink is configured), so this is mostly UI + per-instance sink selection.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions