/// <summary> /// Initialize the static AudioManager functionality. /// </summary> /// <param name="game">The game that this component will be attached to.</param> /// <param name="settingsFile">The filename of the XACT settings file.</param> /// <param name="waveBankFile">The filename of the XACT wavebank file.</param> /// <param name="soundBankFile">The filename of the XACT soundbank file.</param> public static void Initialize( Game game, string settingsFile, string waveBankFile, string soundBankFile ) { audioManager = new AudioManager( game, settingsFile, waveBankFile, soundBankFile ); if( game != null ) { game.Components.Add( audioManager ); } }