Edit

Share via


AudioFileStream.OnPacketDecoded Method

Definition

Invoked when a packet has been decoded.

protected virtual void OnPacketDecoded (int numberOfBytes, IntPtr inputData, AudioToolbox.AudioStreamPacketDescription[] packetDescriptions);
abstract member OnPacketDecoded : int * nativeint * AudioToolbox.AudioStreamPacketDescription[] -> unit
override this.OnPacketDecoded : int * nativeint * AudioToolbox.AudioStreamPacketDescription[] -> unit

Parameters

numberOfBytes
Int32

The number of bytes available in the decoded packet.

inputData
IntPtr

nativeint

Pointer to the decoded data.

packetDescriptions
AudioStreamPacketDescription[]

A description of the packets decoded.

Remarks

The default implementation raises the PacketDecoded event.

Applies to