This project has moved. For the latest updates, please go here.

playing mp3 from a dealyed byte array

Dec 12, 2013 at 12:44 PM
hello, I've come across a project which needs to deal with a scenario in which
the chunks of audio ( MP3) are received over a period of time(like every 2 secs) in "byte arrays" .
I've searched the discussions for a combined case of stream and playing from byte[] and couldn't find any.
could someone please redirect / help me?

p.s: i'm pretty new to working with Naudio and playing mp3 with it in C# ,so introducing demos and examples would be a great help and highly appreciated
Dec 19, 2013 at 10:55 AM
the NAudio demo source code includes an example of receiving streamed MP3 and playing it back.
Dec 19, 2013 at 11:06 AM
hi thanks fro reply, that's true, but it's playing from a url ,and what I need is to play them from byte arrays with delay over time.any help is appreciated.
Dec 23, 2013 at 7:54 PM
It would be exactly the same. NetworkStream reads byte arrays over the network.