Cant play adpcm audio file with naudio

902 Views Asked by At

I try to play an adpcm alaw (i think its g.723 adpcm 40) file with NAudio without success.

the file is stereo sample rate is 8000 and the bit depth is 16.

when i try to create the adpcm alaw format with 2 channels i got an acm not possible error. ( the error is because i try to create a SampleCannel and the SampleCannel class force to get pcm or ieefloat. so i call to CreatePcmFormat).

therefore i create it with 1 channel and then i can play it but i hear noise.

vlc can play the file successfully.

0

There are 0 best solutions below