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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.