NAudio for recording an audio file

I already have a code to play / stop mp3 / wma audio and view. I just need to know how I can loop a song? Thanks.

+4
source share
3 answers

Here's a blog post that I wrote about how to encode audio using NAudio .

+6
source

Use an array to name your files, then you can freely contact the song.

+4
source

Just handle the PlaybackStopped Event, then you can play the audio again.

0
source

Source: https://habr.com/ru/post/1390090/


All Articles