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

NAudio using Codecs (eg Speex)

Sep 3, 2009 at 10:17 AM

Hi All,

after having a brief look at this interesting library I was wondering what codecs are supported. On the main page it says that ACM codecs are working so in theory it should be possible to use the ACM version of the Speex codec and hook it up with NAudio to be able to play back sound.

Are there any example on how to use ACM codecs in NAudio?



Sep 6, 2009 at 7:55 PM

Hi Christoph,

have a look at the NAudio demo project. It will show you how to pass data through the ACM codec. Usually the biggest challenge for custom codecs is working out the correct WaveFormat structure to use. But using NAudio demo and examining the bytes of the WaveFormat that it creates can be useful.