This project has moved and is read-only. For the latest updates, please go here.

Seek specific second to play in stream

Jun 12, 2011 at 7:38 PM


is there any way to set specific second to start play from buffered stream?

Jun 13, 2011 at 11:35 AM

What is feeding into the buffered stream? You could just skip over a number of bytes before playing.

Jun 13, 2011 at 12:44 PM

I'm writing desktop app for using their API's so feeding mp3 files into stream. I tried to skip stream before creating ReadFullyStream but it doesn't worked. It started from the begining.

Jun 13, 2011 at 12:51 PM

well if you are using the technique in the NAudio demo app for streaming MP3, then when you get the first MP3 frames, don't decode them and add them into the buffered provider. You'll know how long you've skipped by the number of samples in each frame.