PullAudioOutputStream.Read(Byte[]) 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET