WaveOculusDemoProject.Audio.SoundManager.Initialize C# (CSharp) Method

Initialize() protected method

Initialize sound manager
protected Initialize ( ) : void
return void
        protected override void Initialize()
        {
            base.Initialize();

            this.random = WaveServices.Random;
            this.soundPlayer = WaveServices.SoundPlayer;

            this.bank = new SoundBank(this.Assets) { MaxConcurrentSounds = 40 };
            this.soundPlayer.RegisterSoundBank(this.bank);

            this.LoadSounds();
        }