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.
NAudio looping an audio file
Here's a blog post I wrote on how to loop audio using NAudio.
Use an array for yours files name, then you can free to loop the song.
Just handle PlaybackStopped Event, then you can play again the audio.
© 2022 - 2024 — McMap. All rights reserved.