Edytuj

Udostępnij za pośrednictwem


AudioFile.FrameToPacket(Int64, Int32) Method

Definition

Converts an audio frame into a packet offset.

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

Parameters

frame
Int64

The frame.

frameOffsetInPacket
Int32

The offset inside the packet that the frame points to.

Returns

-1 on failure, otherwise the packet that represents the specified frame. Additionally, the offset within the packet is returned in the out parameter.

Applies to