示例#1
0
 /// <summary>
 /// 音频回调(扩展)
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="buf"></param>
 /// <param name="len"></param>
 /// <param name="format"></param>
 /// <param name="userValue"></param>
 private static void AudioDataEx_CallBack(int userId, IntPtr buf, int len, AnyChatCoreSDK.WaveFormat format, int timestamp, int userValue)
 {
     if (AudioEx_OnCallBack != null)
     {
         AudioEx_OnCallBack(userId, buf, len, format, timestamp, userValue);
     }
 }
示例#2
0
 /// <summary>
 /// 音频回调
 /// </summary>
 /// <param name="userId"></param>
 /// <param name="buf"></param>
 /// <param name="len"></param>
 /// <param name="format"></param>
 /// <param name="userValue"></param>
 private static void AudioData_CallBack(int userId, IntPtr buf, int len,
                                        AnyChatCoreSDK.WaveFormat format, int userValue)
 {
 }