Version: 2022.3
Experimental: this API is experimental and might be changed or removed in the future.

AudioSampleProvider.SetSampleFramesOverflowNativeHandler

切换到手册
public void SetSampleFramesOverflowNativeHandler (Experimental.Audio.AudioSampleProvider.SampleFramesEventNativeFunction handler, IntPtr userData);

参数

handler 指向发出事件时要调用的函数的指针。
userData 调用时要传递给处理程序的用户数据。实际的 C 类型是 void*。

描述

当内部样本帧缓冲区溢出时,为发出的事件设置原生事件处理程序。


Did you find this page useful? Please give it a rating: