기술 자료

Unity Engine

Unity Engine

ChannelBuffer(Span<float>, int)

Creates a new ChannelBuffer instance using the as a backing memory store.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public ChannelBuffer(Span<float> buffer, int channels)

Parameters

A span of floats that will work as the backing buffer.

channels

The number of audio channels in the buffer

Remarks

Setting content using [thisint, int] will be reflected if another ChannelBuffer is created and the same indices are being read back. No other guarantees are given with respect to layout / packing.