I also have another Question. When I get 20 Byte in G729 Codec which means 20ms. Then I call the decode function twice. I start with the first 10 Byte then the other 10 Byte. I got back 160 Byte per 10 Byte input. Thist 160 Byte is the input to the USC_CvtToLaw function. Then I get 80 Byte. the second time I get also 80 Byte. This 160 Byte is then my message in Alaw or? Or must I send the two 160 Bytes buffers to the USC_CvtToLaw at the same time?
Harald
Hi Harald,
USC_CvtToLaw functionoptionally may convert16bit linear PCMafter decode toa-Law or mu-Law 8bit PCM depends on output PCM type desired (-alaw or -mulaw option in command line, default is linear PCM).
Now a few words reyour issue with speech in OS kernel mode. There are twooptions in IPP for G729 codec:floating point (IPP_G729I_FP and IPP_G729A_FP ) and fixed point (IPP_G729I and IPP_G729A)implementations:Blue screen may be caused by floating-point arithmetic in case you are using G729 FP codecs.See
http://msdn.microsoft.com/en-us/library/aa489566.aspxfor example for how to use FP in WDM drivers.