protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); font = Content.Load<SpriteFont>("Fonts/Default"); var waveFileStream = TitleContainer.OpenStream(@"Content\Sounds\48K16BSLoop.wav"); streamingWave = new StreamingWave(waveFileStream, TimeSpan.FromMilliseconds(100)); dynamicSound = streamingWave.DynamicSound; }
protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); font = Content.Load <SpriteFont>("Fonts/Default"); var waveFileStream = TitleContainer.OpenStream(@"Content\Sounds\48K16BSLoop.wav"); streamingWave = new StreamingWave(waveFileStream, TimeSpan.FromMilliseconds(100)); dynamicSound = streamingWave.DynamicSound; }