mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-05 22:30:29 +00:00
SDL_wasapi.c: added comment about SDL_AudioClientProperties workaround
(cherry picked from commit 48fe7b7d6a)
This commit is contained in:
parent
3b73938b5f
commit
b938acab19
1 changed files with 3 additions and 0 deletions
|
|
@ -65,6 +65,9 @@ static bool immdevice_initialized = false;
|
|||
static bool supports_recording_on_playback_devices = false;
|
||||
|
||||
#ifdef __IAudioClient2_INTERFACE_DEFINED__
|
||||
// AUDCLNT_STREAMOPTIONS and AudioClientProperties->Options were
|
||||
// added in Windows 8.1: This ugliness is here to make sure that
|
||||
// we can build against older SDK versions.
|
||||
#define SDL_AUDCLNT_STREAMOPTIONS_RAW 0x1
|
||||
typedef union SDL_AudioClientProperties {
|
||||
AudioClientProperties a;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue