文档

Unity Engine

Unity Engine

bufferFrameCount

The number of audio frames processed in each audio callback.
阅读时间1 分钟最后更新于 21 天前

Definition

public readonly int bufferFrameCount { get; }

Remarks

Depending on the context within the AudioFormat is used, this value specifies either the exact number of frames or the maximum number of frames in the ChannelBuffer passed to processing callbacks.
Additional Resources: AudioConfiguration.dspBufferSize