Skip to content

wasapi: Allow RAW stream flag for MinGW 8.0.0 or later - #867

Merged
padenot merged 1 commit into
mozilla:masterfrom
PabloMK7:patch-1
Oct 22, 2026
Merged

padenot merged 1 commit into
mozilla:masterfrom
PabloMK7:patch-1

Conversation

@PabloMK7

@PabloMK7 PabloMK7 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

In the wasapi initialize_iaudioclient2 function, both CUBEB_STREAM_PREF_RAW and CUBEB_STREAM_PREF_VOICE were skipped on every MinGW build (#ifndef __MINGW32__, from 3fbbc67).
At the time mingw-w64 didn't define AUDCLNT_STREAMOPTIONS_RAW, but it has done so since mingw-w64 8.0.0 (https://sourceforge.net/p/mingw-w64/mingw-w64/ci/1d112162e1f3b160b34c10c9810fb9170d4a0b52/).

Modified the macro so that the flag is allowed for MinGW version 8.0.0 or later.

@padenot
padenot merged commit dcd7cdd into mozilla:master Oct 22, 2026
16 checks passed
@padenot

padenot commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the fix!

@PabloMK7
PabloMK7 deleted the patch-1 branch October 22, 2026 12:49
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.

2 participants