XNA Creators Club Online
Page 1 of 1 (2 items)
Sort Posts: Previous Next

Problem with compression

Last post 10/23/2009 1:35 PM by Silvermax. 1 replies.
  • 10/23/2009 1:30 PM

    Problem with compression

    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?

    Kaotik Puzzle now on the marketplace.
    twitter, facebook, youtube
  • 10/23/2009 1:35 PM In reply to

    Re: Problem with compression

    Answer
    Reply Quote
    FIXED. Probably a bug: DON'T USE "FRIENDLY NAMES" option in the wave bank proprieties (in the XACT)
    Kaotik Puzzle now on the marketplace.
    twitter, facebook, youtube
Page 1 of 1 (2 items) Previous Next