Problem playing wav sounds in Silverlight

I was playing around with sounds and Silverlight but kept getting;
—————————
Error
—————————
A Runtime Error has occurred.
Do you wish to Debug?
Line: 433
Error: Sys.InvalidOperationException: MediaError error #4001 in control ‘Xaml1’: AG_E_NETWORK_ERROR
—————————
Yes   No  
—————————
A quick look around the internet showed a number of people having trouble using the correct Uri or not using embedded resources correctly, I was sure I was coding it correctly. Then the obvious struck me, it doesn’t support WAVs. Sure enough once I change to WMA the code sprang to life.
 
Advertisements
This entry was posted in Silverlight. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s