Skip to content

feat(audio): add microphone passthrough support - #4901

Closed
aliefe04 wants to merge 1 commit into
LizardByte:masterfrom
aliefe04:feat/mic-passthrough
Closed

aliefe04 wants to merge 1 commit into
LizardByte:masterfrom
aliefe04:feat/mic-passthrough

Conversation

@aliefe04

@aliefe04 aliefe04 commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

wip

- Receive Opus-encoded mic audio from Moonlight client via control stream
- Decode Opus frames with libopus and route PCM to virtual audio device
- Windows: WASAPI render to VB-Cable (auto-detect or configurable device)
- RTSP SDP advertises x-ss-general.micSupport when mic_passthrough=true in config
- Dispatch via input.cpp passthrough switch on SS_MIC_{START,STOP,DATA}_MAGIC
- New config options: mic_passthrough (bool), mic_virtual_device (string)
- Submodule: moonlight-common-c points to aliefe04 fork with protocol extensions
@aliefe04 aliefe04 closed this Mar 23, 2026
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
38 New issues
37 New Code Smells (required ≤ 0)
1 New Bugs (required ≤ 0)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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