mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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:
parent
69b0954007
commit
5bae2f06ad
@ -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 );
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user