Skip to content

PlatformAPI reference

Delegate AudioRender

Namespace: MicroEngine.Platform
Assembly: MicroEngine.Platform.dll
Guide: The platform host

Fills all of buffer (buffer.Length / Channels frames of the sink’s AudioFormat). Called by one thread at a time; which thread depends on Schedule. It never blocks, allocates, takes a lock the main thread holds, or throws.

C#
public delegate void AudioRender(Span<float> buffer)

Parameters

buffer Span<float>

The interleaved samples to write.