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

AudioSampleProvider.freeSampleFrameCount

Switch to Manual
public uint freeSampleFrameCount ;

Description

Number of sample frames that can still be written to by the sample producer before overflowing.

Letting the internal buffer overflow will emit the AudioSampleProvider.sampleFramesOverflow event and invoke the associated native handler set with AudioSampleProvider.SetSampleFramesOverflowNativeHandler.