Global volume control in v2?


  • While trying to address a sound issue for a v1 game (subject of another thread) I briefly upgraded to v2beta1. While it didn't have a fix for my issue I noticed that the overall audio volume was noticeably lower than when running the game under v1. Looking through the beta docs I can see how to change the volume of individual MediaElements, but does V2 have a global volume setting that I could adjust by, say,  providing a slider to the player? Or do I have to enumerate all media elements and adjust each separately?


    Sunday, March 30, 2008 10:42 AM


All replies

  • No, each MediaElement has their own (like SL1.0). How many MediaElements are you using?

    Tuesday, April 01, 2008 1:50 AM
  • Thought it might be the case. Ahh well, it's just something to consider when migrating to v2. In answer to your question, there are a variable number of dynamically created MediaElements, driven by an external configuration file. They are sound effects that are played as and when required within the game.

    Thanks for responding.

    Tuesday, April 01, 2008 3:58 AM