MP3 Writer

Jun 17, 2011 at 6:52 AM

Hi,

My Application need to write (record) the current playing song into MP3 file stream. I know there is a class "WaveFileWriter" which is used to write .wav file. I wanted to know

1. How to write current chunk of buffer into MP3 Stream.

2. Which place of NAudio exactly I should plug-in my code to write the current chunk. ( I used OnDone function of WaveOutBuffer to grab the current chunk to write into wave format)

3. Is there any class MP3FileWriter ??

Thanks,

Coordinator
Jun 17, 2011 at 6:55 AM

No, I'm afraid there is no MP3 writer in NAudio. I recommend using LAME

Mark