Play(or convert to .wav) 3ga audio file.

Feb 5, 2013 at 12:56 PM
How can I convert .3ga file to .wav file usiing NAudio?

The following link says it is possible:
http://stackoverflow.com/questions/12800282/play-custom-file-format-using-naudio

A sample would be of great use.

Thanks.

Regards
Anudeep
Coordinator
Feb 5, 2013 at 1:02 PM
You could only do this if you have an ACM codec that can decode 3ga. I have not come across one, but you might be able to find one. Having done so, you'd then need to query the codec to work out what WaveFormat it accepts as an input.

Mark
Feb 5, 2013 at 1:12 PM
Hi markheath,

Can you guide me the way through some quick links or samples.

--Anudeep
Coordinator
Feb 5, 2013 at 1:14 PM
I'm afraid I have no examples for converting 3ga. However, I have written a detailed article explaining how I go about converting between formats with NAudio:
http://www.codeproject.com/Articles/501521/How-to-convert-between-most-audio-formats-in-NET

Mark