AudioFileStream.FrameToPacket(Int64, Int32) Method

Definition

Returns the packet number and the frame offset in the packet (on the out parameter) corresponding to the requested audio frame.

public long FrameToPacket (long frame, out int frameOffsetInPacket);
member this.FrameToPacket : int64 *  -> int64

Parameters

frame
Int64

The audio frame number.

frameOffsetInPacket
Int32

The frame offset in the packet.

Returns

The packet number that corresponds to the specified frame.

Remarks

This updates the LastError property.

Applies to