PushAudioInputStream.Write Method

Definition

Overloads

Write(Byte[])

Writes the audio data specified by making an internal copy of the data. Note: The dataBuffer must not contain an audio header.

Write(Byte[], Int32)

Writes the audio data specified by making an internal copy of the data.

Write(Byte[])

Writes the audio data specified by making an internal copy of the data. Note: The dataBuffer must not contain an audio header.

public void Write (byte[] dataBuffer);
member this.Write : byte[] -> unit
Public Sub Write (dataBuffer As Byte())

Parameters

dataBuffer
Byte[]

The audio buffer this method will copy.

Applies to

Write(Byte[], Int32)

Writes the audio data specified by making an internal copy of the data.

public void Write (byte[] dataBuffer, int size);
member this.Write : byte[] * int -> unit
Public Sub Write (dataBuffer As Byte(), size As Integer)

Parameters

dataBuffer
Byte[]

The audio buffer this method will copy.

size
Int32

The size of the data in the audio buffer. Note the size could be smaller than dataBuffer.Length

Applies to