Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to repeat a single sound without pause by the background audio player?

I need background player to play a single track in a cycle without a pause between end and beginning. How could I implement it?

I have tried to implement it by AudioPlayerAgent but it is not able to remove pause which is short but stay here.

like image 747
Viacheslav Smityukh Avatar asked Nov 08 '12 20:11

Viacheslav Smityukh


1 Answers

Maybe you should look at the BackgroudAudioPlayer.

More informations and some examples are available right here =>

http://msdn.microsoft.com/en-us/windowsphonetrainingcourse_musicplayerlab_topic2.aspx

Maybe you could use the event PlayStateChanged to launch again the same music.

Hope it helps :)

like image 130
MarcD Avatar answered Sep 23 '22 18:09

MarcD