mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2025-01-26 10:30:02 +01:00
sound: sdl: use SDL_setenv for crossplatform
This commit is contained in:
parent
196c311113
commit
7205f2d4fa
@ -76,8 +76,8 @@ qboolean SNDDMA_Init( void *hInst )
|
||||
|
||||
// even if we don't have PA
|
||||
// we still can safely set env variables
|
||||
setenv( "PULSE_PROP_application.name", GI->title, 1 );
|
||||
setenv( "PULSE_PROP_media.role", "game", 1 );
|
||||
SDL_setenv( "PULSE_PROP_application.name", GI->title, 1 );
|
||||
SDL_setenv( "PULSE_PROP_media.role", "game", 1 );
|
||||
|
||||
memset( &desired, 0, sizeof( desired ) );
|
||||
desired.freq = SOUND_DMA_SPEED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user