다음을 통해 공유


PullAudioOutputStream.Read(Byte[]) Method

Definition

Read audio from the stream. The maximal number of bytes to be read is determined by the size of dataBuffer. If there is no data immediately available, read() blocks until the next data becomes available.

public uint Read (byte[] buffer);
member this.Read : byte[] -> uint32
Public Function Read (buffer As Byte()) As UInteger

Parameters

buffer
Byte[]

The buffer to receive the audio data

Returns

The number of bytes filled, or 0 in case the stream hits its end and there is no more data available.

Applies to