12 Apr
2023
12 Apr
'23
8:46 p.m.
Because otherwise `mmdevapi.h` must be included after the header(s) that declare `IAudioEndpointVolumeEx` (`endpointvolume.h`) and `ISpatialAudioClient` (`spatialaudioclient.h`).
It seems to me like a better solution would be to include those headers in mmdevapi.h itself. In general, if any C file uses a definition, it should include the necessary headers for it. [Side note, can we consider renaming mmdevapi.h to mmdevapi_private.h or something, so it's clearer that it's not an external header?] -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2636#note_29859