Remove _THIS in src/audio/

This commit is contained in:
Sylvain 2023-05-09 13:23:33 +02:00 committed by Ryan C. Gordon
parent 81ff49f4b5
commit 04e17d4e46
48 changed files with 1352 additions and 1425 deletions

View file

@ -256,7 +256,7 @@ int WASAPI_GetDefaultAudioInfo(char **name, SDL_AudioSpec *spec, int iscapture)
return SDL_Unsupported();
}
int WASAPI_ActivateDevice(_THIS, const SDL_bool isrecovery)
int WASAPI_ActivateDevice(SDL_AudioDevice *_this, const SDL_bool isrecovery)
{
LPCWSTR devid = _this->hidden->devid;
Platform::String ^ defdevid;
@ -326,12 +326,12 @@ int WASAPI_ActivateDevice(_THIS, const SDL_bool isrecovery)
return 0;
}
void WASAPI_PlatformThreadInit(_THIS)
void WASAPI_PlatformThreadInit(SDL_AudioDevice *_this)
{
// !!! FIXME: set this thread to "Pro Audio" priority.
}
void WASAPI_PlatformThreadDeinit(_THIS)
void WASAPI_PlatformThreadDeinit(SDL_AudioDevice *_this)
{
// !!! FIXME: set this thread to "Pro Audio" priority.
}