private static extern bool PLAY_SetAudioCallBack(int nPort, FunAudio funAudio, int nUser);
/// <summary> /// 音频帧解码后的wave数据回调 /// </summary> /// <param name="nPort">播放器通道号</param> /// <param name="funAudio">音频回调函数</param> /// <param name="nUser">用户自定义数据</param> /// <returns>true:成功;false:失败</returns> public static bool DHSetAudioCallBack(int nPort, FunAudio funAudio, int nUser) { bool returnValue = false; returnValue = PLAY_SetAudioCallBack(nPort, funAudio, nUser); DHThrowLastError(nPort); return returnValue; }