AudioFileStream.OnPacketDecoded 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.
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.