Music jitters when MediaElement and Storyboard Animation playing together RRS feed

  • Question

  • Hi,

    I have a MediaElement declared in my XAML which starts playing a song the moment page is loaded. At the

    same time when page is loaded I Begin an animation for 10 sec. While the animation is going on the song being played jitters.

    Any idea how to smoothen this out ?

    Saturday, March 17, 2012 8:26 PM


  • Hello Sam,

    It sounds like your video card has a very long DPC causing the audio playback to be starved for an extended period of time. Make sure that you have the latest video driver installed and that your video card support acceleration in hardware and not in the driver. Some low end video cards will report that they support HW acceleration and then emulate it in software in the driver. This can cause very long DPCs that can impact system performance. You can confirm this by using X-Perf and looking at the maximum DPC time.

    I hope this helps,


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Monday, March 19, 2012 8:47 PM