libretro / libretro/RetroArch

[Microphone] Recording distorted when using wasapi driver

Open
#15,428 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

audio: microphone bug: wasapi
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

At the request of @JesseTG I'm opening this issue about an issue with microphone when using wasapi driver. The recording gets distorted, it doesn't happen when using sdl2 driver.

https://github.com/libretro/RetroArch/assets/33353403/9fd0a5cc-956e-4d85-b7c1-8f5d6471d545

Steps to reproduce the bug

Only tested on Windows 10 so far:

  1. Grab Jesse new version of MelonDS: https://github.com/JesseTG/melonds-ds/suites/13864777914/artifacts/770389351
  2. Enable Microphone in RetroArch and set driver to wasapi, enable mic in the MelonDS core options.
  3. Download this homebrew: http://drastic-ds.com/micrecord.nds
  4. Launch it and record something.
Version/Commit
  • RetroArch: 1.15.0 / 56e088b937bc59fa4f9f37d265c6549a84324edf
Environment information
  • OS: Windows 10

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the distortion on Windows 10 with the WASAPI microphone driver and compare the result with the SDL2 driver, following the listed MelonDS and micrecord.nds steps. Inspect the RetroArch microphone capture path and determine where WASAPI audio diverges from SDL2. Done means microphone recordings are no longer distorted when WASAPI is selected and the reproduction steps no longer demonstrate the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.