Global volume control in v2?
Last post 04-01-2008 3:58 AM by Jalfrezi. 2 replies.
Sort Posts:
03-30-2008 10:42 AM
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?

 
Thanks. 

Jalfrezi

Joined on 03-30-2008
Posts 12
04-01-2008 1:50 AM
Marked as Answer
Re: Global volume control in v2?

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

(If this has answered your question, please "Mark as Answer")

Shawn Wildermuth
C# MVP, MCSD, Speaker and Author

Silverlight 2 Workshop
May 12-14, 2008 - Atlanta, GA
May 28-30, 2008 - San Francisco, CA
http://www.silverlight-tour.com

swildermuth

Joined on 10-13-2003
Atlanta, GA
Posts 1,058
04-01-2008 3:58 AM
Re: Re: Global volume control in v2?

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.
 

Jalfrezi

Joined on 03-30-2008
Posts 12