Edytuj

Udostępnij za pośrednictwem


AudioFileStream.ByteToPacket(Int64, Int32, Boolean) Method

Definition

Maps a position in the file to an audio packet.

public long ByteToPacket (long byteval, out int byteOffsetInPacket, out bool isEstimate);
member this.ByteToPacket : int64 *  *  -> int64

Parameters

byteval
Int64

The location in the file.

byteOffsetInPacket
Int32

Return value, byte offset within the packet.

isEstimate
Boolean

Return value, whether the return is an estimate or not.

Returns

The packet number that corresponds to this byte in the file.

Remarks

This updates the LastError property.

Applies to