working on fixing up extra loads when entering play mode in the editor
This commit is contained in:
@@ -609,6 +609,15 @@ float GameSoundManager::GetPlayLatency() const
|
||||
return SOUNDMAN->GetPlayLatency();
|
||||
}
|
||||
|
||||
void GameSoundManager::SetPlayerBalance( PlayerNumber pn, RageSoundParams ¶ms )
|
||||
{
|
||||
/* If two players are active, play sounds on each players' side. */
|
||||
if( GAMESTATE->GetNumPlayersEnabled() == 2 )
|
||||
params.m_Balance = (pn == PLAYER_1)? -1.0f:1.0f;
|
||||
else
|
||||
params.m_Balance = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003-2004 Glenn Maynard
|
||||
* All rights reserved.
|
||||
|
||||
Reference in New Issue
Block a user