C# G729用法
bin/debug包含 G729.dll
- C# code
[DllImport("g729.dll")] public static extern void va_g729a_init_encoder(); [DllImport("g729.dll")] public static extern void va_g729a_init_decoder(); [DllImport("g729.dll")] public static extern void va_g729a_encoder(byte[] inputByte, byte[] outputByte); [DllImport("g729.dll")] public static extern void va_g729a_decoder(byte[] inputByte, byte[] outputByte);//G729初始化//G729编码byte[] temp = capturedata;//已经得到的本地音频流 va_g729a_encoder(temp, capturedata);//G729解码va_g729a_decoder(temp, capturedata);运行程序时,通话的时候总是带有滴滴的声音?
是不是函数的参数类型定义有误啊?请各位帮忙看看 谢谢
[解决办法]
没用过 看看有没有官方文档 帮顶~
[解决办法]
G729 免费的吗?