[Bug 49501] New: Star Citizen: No mic input audio (used for voip)

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jul 1 17:13:20 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49501

            Bug ID: 49501
           Summary: Star Citizen: No mic input audio (used for voip)
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winepulse.drv
          Assignee: wine-bugs at winehq.org
          Reporter: simonnatella at gmail.com
      Distribution: ---

Created attachment 67628
  --> https://bugs.winehq.org/attachment.cgi?id=67628
Fixes Star Citizen voip naively

Mic input within Star Citizen does not work, despite audio devices being
recognised and audio output working correctly.

I've done some debugging and produced the attached very naive fix - I'm aware
it's Pulse only and it does not actually handle the required mmdevapi flags, it
just doesn't error on seeing them. I'm not a C developer, so unfortunately
writing handling for these flags is well beyond my skills.

The missing flags are described on
https://docs.microsoft.com/en-gb/windows/win32/coreaudio/audclnt-streamflags-xxx-constants
as AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM and
AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY

The whitelist in AudioClient_Initialize for Pulse doesn't acknowledge these
(heck, mmdevapi doesn't have the constants defined) and so when provided them
bails out, this patch just lets the code continue.

The fix has been used by ourselves for a few weeks and by TkG in his wine
builds, and so far we've not seen any side effects, except working mic input in
SC of course.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list