locked
Application.Current.Host.Settings.MaxFrameRate = 15 does not work. RRS feed

  • Question

  • Hi

    I am just not happy with the performance of my Silvelright Pivot App. I use about 5 animations (images with sound effect) at the same time. And it does not look good smooth and with sound you hear the delay very good. Also if I look to any other apps made in Silverlight, the performance sometimes is bad. Exception you really use one single animation with small content at the time and not use any alpha channels.

    I was so happy when I saw this property:
    Application.Current.Host.Settings.MaxFrameRate = 15;
    But also when I put the value "= 1" on it, the whole silverlight storyboard and animations works about 45 FPS not 1 and not 15FPS. I only need sound with first priority and animations could drop frames.

    Any idea how to proceed except using XNA GUI?

    Regards
    Tuesday, November 23, 2010 2:01 AM

All replies

  • I also tried with
    System.Threading.Thread.CurrentThread.IsBackground = true; 
    without success.
    Tuesday, November 23, 2010 4:27 PM
  • Hi, did you find a way to set the MaxFrameRate  for windows Phone/ Silverlight ?
    I tried both commands like you and there is no effect.
    Thursday, February 17, 2011 10:58 PM
  • I have similarly tried setting the Application.Current.Host.Settings.MaxFrameRate = 15 and I am not seeing any change in the frame rate. However. I have not tried this with an XNA application to see if this property would make a difference.
    Monday, February 21, 2011 5:34 PM