NAudio looping an audio file
Asked Answered
T

3

5

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.

Tentage answered 9/1, 2012 at 17:22 Comment(0)
F
7

Here's a blog post I wrote on how to loop audio using NAudio.

Floorboard answered 10/1, 2012 at 9:50 Comment(0)
M
4

Use an array for yours files name, then you can free to loop the song.

Ms answered 8/10, 2012 at 9:32 Comment(0)
P
1

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

Powerful answered 1/9, 2017 at 21:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.