PullAudioInputStreamCallback.Read(Byte[], UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads binary data from the stream. Note: The dataBuffer returned by Read() cannot contain any audio header.
public abstract int Read (byte[] dataBuffer, uint size);
abstract member Read : byte[] * uint32 -> int
Public MustOverride Function Read (dataBuffer As Byte(), size As UInteger) As Integer
Parameters
- dataBuffer
- Byte[]
The buffer to fill
- size
- UInt32
The size of the buffer.
Returns
The number of bytes filled, or 0 in case the stream hits its end and there is no more data available. If there is no data immediately available, Read() blocks until the next data becomes available.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET