mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
engine: platform: sdl: do not lock audio device, for some reason it sometimes causes problems although it shouldn't
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user