SoundEffect

There are 1 entries for the tag SoundEffect
Playing multiple sounds in Windows Phone

Sometimes you might need to play multiple sounds at once (games are just one example) and as stated into documentation here: http://msdn.microsoft.com/en-us/library/ff426928(VS.96).aspx you can have only one MediaElement on a page, so: how do I play multiple sounds at the same time? If you can afford to use plain 16 bit mono wav files you can use XNA’s SoundEffect class in just a few steps: Add a project reference to Microsoft.Xna.Framework assembly. Add the wav files to your project using Content as default build action (don’t forget that Resource is a load time performance...

posted @ domenica 3 ottobre 2010 20:05 | Feedback (3)