Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
How can I play an audio clip in Windows Phone 8, using C#?
The code should be in c#, and the audio is to be played when I press a button...
Posted
Comments
Richard MacCutchan 17-Sep-15 3:58am    
What have you tried?
Where are you stuck?
Have you Googled "audio windows phone"?
Thanks7872 17-Sep-15 4:38am    
This is just a list of requirement : I want to do this and it should do that etc.

There is no question. We answer questions where OP put some effort,not requirements.

1 solution

use Microsoft.Phone.BackgroundAudio

See the example,
https://msdn.microsoft.com/en-us/library/windows/apps/hh202978(v=vs.105).aspx[^]

-KR
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900