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

AudioSampleProvider.freeSampleFrameCount

切换到手册
public uint freeSampleFrameCount ;

描述

样本生成器在溢出之前仍然可以写入的样本帧数。

允许内部缓冲区溢出将会发出 AudioSampleProvider.sampleFramesOverflow 事件,并调用通过 AudioSampleProvider.SetSampleFramesOverflowNativeHandler 设置的相关原生处理程序。