wasapi: deal with default device changes, and more robust failure recovery.

This commit is contained in:
Ryan C. Gordon
2017-03-30 16:33:47 -04:00
parent c85c57a05d
commit 028716e79f
2 changed files with 103 additions and 83 deletions

View File

@@ -39,7 +39,8 @@ struct SDL_PrivateAudioData
HANDLE task;
SDL_bool coinitialized;
int framesize;
SDL_bool is_default_device;
int default_device_generation;
SDL_bool device_lost;
};
#endif /* SDL_wasapi_h_ */