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

Performance problem - Sounds and music starts playing slow after a while

Last post 09-04-2008 1:55 PM by Kobingo. 4 replies.
  • 08-24-2008 8:58 AM

    Performance problem - Sounds and music starts playing slow after a while

    All the sounds in my game starts playing slower and slower the longer I play. It takes about 15 min before it is noticeable. I play all my sounds using SoundBank.PlayCue(string) and I'm calling AudioEngine.Update() very frame.

    You have any ideas what it could be?

  • 08-24-2008 9:53 AM In reply to

    Re: Sounds and music starts playing slow after a while

    I can also say that this happens on the Xbox 360.
  • 09-01-2008 6:57 PM In reply to

    Re: Sounds and music starts playing slow after a while

    Anyone else having the same problems?
  • 09-04-2008 12:07 PM In reply to

    Sounds and music starts playing slow after a while

    I have'nt had any problems with the sound so far (I work with Windows only).

    How about if you add a display that shows the amount of time needed for one frame and the fps. If that stays the same then there must be something wrong with the music, (maybee youzr song?), if the framerate get's less, then you might be creating more and more data without deleting it (ex. A list that get's bigger with the "list.Add(Object Object)" methode).

    Valandur

    ------------------------------------------------------
    Live's a game, play it!
    You don't like the game? Make your own!
  • 09-04-2008 1:55 PM In reply to

    Re: Sounds and music starts playing slow after a while

    Nothing is happening with the framerate, it's just the sounds that's playing really slow...
Page 1 of 1 (5 items) Previous Next