engine: platform: sdl: do not lock audio device, for some reason it sometimes causes problems although it shouldn't

This commit is contained in:
Alibek Omarov 2022-09-20 21:29:19 +03:00
parent 69b0954007
commit 5bae2f06ad
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ Makes sure dma.buffer is valid
*/
void SNDDMA_BeginPainting( void )
{
SDL_LockAudioDevice( sdl_dev );
// SDL_LockAudioDevice( sdl_dev );
}
/*
@ -178,7 +178,7 @@ Also unlocks the dsound buffer
*/
void SNDDMA_Submit( void )
{
SDL_UnlockAudioDevice( sdl_dev );
// SDL_UnlockAudioDevice( sdl_dev );
}
/*