engine/host.cpp
void Host_UpdateSounds( void )
{
	SNPROF("Host_UpdateSounds");

#if !defined( DEDICATED )
	MDLCACHE_COARSE_LOCK_(g_pMDLCache);
	// update audio
	if ( GetBaseLocalClient().IsActive() )
	{
		S_Update( &s_AudioState );	
	}
	else
	{
		S_Update( NULL );
	}
#endif
}
/*
====================
Host_UpdateSounds

Update sound subsystem and cd audio
====================
*/
Host_UpdateSounds
Update sound subsystem and cd audio
Host_UpdateSounds Update sound subsystem and cd audio
void Host_UpdateSounds( void )
{
	SNPROF("Host_UpdateSounds");
#if !defined( DEDICATED )
	MDLCACHE_COARSE_LOCK_(g_pMDLCache);
	if ( GetBaseLocalClient().IsActive() )
	{
		S_Update( &s_AudioState );	
	}
	else
	{
		S_Update( NULL );
	}
#endif
}
void Host_UpdateSounds ( void ) { SNPROF ( " " ) ; #if ! defined ( DEDICATED ) MDLCACHE_COARSE_LOCK_ ( g_pMDLCache ) ; if ( GetBaseLocalClient ( ) . IsActive ( ) ) { S_Update ( & s_AudioState ) ; } else { S_Update ( NULL ) ; } #endif }
Host_UpdateSounds
Update sound subsystem and cd audio
Host_UpdateSounds Update sound subsystem and cd audio
// update audio