问题
I already have the code of the mp3/wma audio playing/stopping and browsing. I just need to know how can I loop the song? Thank you.
回答1:
Here's a blog post I wrote on how to loop audio using NAudio.
回答2:
Use an array for yours files name, then you can free to loop the song.
回答3:
Just handle PlaybackStopped Event, then you can play again the audio.
来源:https://stackoverflow.com/questions/8792456/naudio-looping-an-audio-file