I'm working right know in the game music.
Seting the music compresion to XMA or xWMA (in xbox) result to an Exception in the line waveBank = new WaveBank(audioEngine, "\\content\\audio\\wave bank.xwb"); Using PCM compression works fine (but of course the wave bank is huge).
In PC the same. Using xWMA raises the exception. PCM and ADPCM works fine.
| - $exception {System.InvalidOperationException: This resource could not be created. |
| en Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String nonStreamingWaveBankFilename) |
| en Another_Puzzle_LIVE.Pantallas.PantallaSilvermax.PantallaActiva() |
| en Another_Puzzle_LIVE.Pantalla.Update() |
| en Another_Puzzle_LIVE.Pantallas.PantallaSilvermax.Update() |
| en Another_Puzzle_LIVE.GestorPantallas.Update() |
| en Another_Puzzle_LIVE.Game1.Update(GameTime gameTime) |
| en Microsoft.Xna.Framework.Game.Tick() |
| en Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e) |
| en Microsoft.Xna.Framework.GameHost.OnIdle() |
| en Microsoft.Xna.Framework.XboxGameHost.Run() |
| en Microsoft.Xna.Framework.Game.Run() |
| en Another_Puzzle_LIVE.Program.Main(String[] args) |
| } System.Exception {System.InvalidOperationException} |
| |
Any suggestion?